mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
Use mingw32 'strip' when compiling for Windows.
This fixes the error when using /usr/bin/strip on Ubuntu 8.10 when it believes the target file is of an "ambiguous format".
This commit is contained in:
parent
f13bf44e87
commit
db3434001f
3
makefile
3
makefile
@ -123,6 +123,7 @@ ifeq ($(platform),windows)
|
||||
ar = i586-mingw32msvc-ar
|
||||
ranlib = i586-mingw32msvc-ranlib
|
||||
objcopy = i586-mingw32msvc-objcopy
|
||||
strip = i586-mingw32msvc-strip
|
||||
else
|
||||
build-cflags = $(common-cflags) \
|
||||
"-I$(JAVA_HOME)/include/win32" -I$(src) -mthreads
|
||||
@ -150,11 +151,9 @@ ifeq ($(mode),stress-major)
|
||||
endif
|
||||
ifeq ($(mode),fast)
|
||||
cflags += -O3 -g3 -DNDEBUG
|
||||
strip = strip
|
||||
endif
|
||||
ifeq ($(mode),small)
|
||||
cflags += -Os -g3 -DNDEBUG
|
||||
strip = strip
|
||||
endif
|
||||
|
||||
cpp-objects = $(foreach x,$(1),$(patsubst $(2)/%.cpp,$(3)/%.o,$(x)))
|
||||
|
Loading…
Reference in New Issue
Block a user