mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
enable i686-apple-darwin8 cross compile
This commit is contained in:
parent
59183c7821
commit
1ca8a20731
15
makefile
15
makefile
@ -215,9 +215,20 @@ ifeq ($(arch),arm)
|
||||
endif
|
||||
|
||||
ifeq ($(platform),darwin)
|
||||
ifneq ($(build-platform),darwin)
|
||||
cxx = i686-apple-darwin8-g++ $(mflag)
|
||||
cc = i686-apple-darwin8-gcc $(mflag)
|
||||
ar = i686-apple-darwin8-ar
|
||||
ranlib = i686-apple-darwin8-ranlib
|
||||
strip = i686-apple-darwin8-strip
|
||||
extra-cflags = -I$(JAVA_HOME)/include/linux
|
||||
else
|
||||
build-lflags += -framework CoreFoundation
|
||||
endif
|
||||
|
||||
build-cflags = $(common-cflags) $(extra-cflags) -fPIC -fvisibility=hidden \
|
||||
-I$(src)
|
||||
version-script-flag =
|
||||
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src)
|
||||
build-lflags += -framework CoreFoundation
|
||||
lflags = $(common-lflags) -ldl -framework CoreFoundation \
|
||||
-framework CoreServices
|
||||
ifeq ($(bootimage),true)
|
||||
|
Loading…
Reference in New Issue
Block a user