mirror of
https://github.com/corda/corda.git
synced 2025-01-04 04:04:27 +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
|
endif
|
||||||
|
|
||||||
ifeq ($(platform),darwin)
|
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 =
|
version-script-flag =
|
||||||
build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src)
|
|
||||||
build-lflags += -framework CoreFoundation
|
|
||||||
lflags = $(common-lflags) -ldl -framework CoreFoundation \
|
lflags = $(common-lflags) -ldl -framework CoreFoundation \
|
||||||
-framework CoreServices
|
-framework CoreServices
|
||||||
ifeq ($(bootimage),true)
|
ifeq ($(bootimage),true)
|
||||||
|
Loading…
Reference in New Issue
Block a user