mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
specify -arch explicitly to compiler and liner on OS X
On 10.6 the compiler generates x86_64 code by default, even though uname -m reports "i386", so we have to be explicit
This commit is contained in:
parent
d56713dc13
commit
ef9c1ee32c
12
makefile
12
makefile
@ -159,6 +159,18 @@ ifeq ($(platform),darwin)
|
||||
strip-all = -S -x
|
||||
so-suffix = .jnilib
|
||||
shared = -dynamiclib
|
||||
|
||||
ifeq ($(arch),powerpc)
|
||||
cflags += -arch ppc
|
||||
asmflags += -arch ppc
|
||||
lflags += -arch ppc
|
||||
endif
|
||||
|
||||
ifeq ($(arch),i386)
|
||||
cflags += -arch i386
|
||||
asmflags += -arch i386
|
||||
lflags += -arch i386
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(platform),windows)
|
||||
|
Loading…
Reference in New Issue
Block a user