mirror of
https://github.com/corda/corda.git
synced 2025-04-18 16:18:12 +00:00
use i686-w64-mingw32- prefix for ia32 Windows cross compiles
Using e.g. x86_64-w64-mingw32-gcc -m32 doesn't quite work at link time when using Debian Wheezy's gcc-mingw-w64 package, due to the 32-bit system libraries not being in the search path, so we use i686-w64-mingw32-gcc instead.
This commit is contained in:
parent
365f863080
commit
d21b09215f
12
makefile
12
makefile
@ -407,12 +407,12 @@ ifeq ($(platform),windows)
|
||||
|
||||
ifeq (,$(filter mingw32 cygwin,$(build-platform)))
|
||||
openjdk-extra-cflags += -I$(src)/openjdk/caseSensitive
|
||||
cxx = x86_64-w64-mingw32-g++ -m32
|
||||
cc = x86_64-w64-mingw32-gcc -m32
|
||||
dlltool = x86_64-w64-mingw32-dlltool -mi386 --as-flags=--32
|
||||
ar = x86_64-w64-mingw32-ar
|
||||
ranlib = x86_64-w64-mingw32-ranlib
|
||||
strip = x86_64-w64-mingw32-strip --strip-all
|
||||
cxx = i686-w64-mingw32-g++ -m32
|
||||
cc = i686-w64-mingw32-gcc -m32
|
||||
dlltool = i686-w64-mingw32-dlltool -mi386 --as-flags=--32
|
||||
ar = i686-w64-mingw32-ar
|
||||
ranlib = i686-w64-mingw32-ranlib
|
||||
strip = i686-w64-mingw32-strip --strip-all
|
||||
else
|
||||
build-system = windows
|
||||
common-cflags += "-I$(JAVA_HOME)/include/win32"
|
||||
|
Loading…
x
Reference in New Issue
Block a user