mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
add support for Xcode 4.3
This commit is contained in:
parent
e8e3c9066f
commit
443097f3bc
7
makefile
7
makefile
@ -214,6 +214,9 @@ openjdk-extra-cflags = -fvisibility=hidden
|
|||||||
|
|
||||||
bootimage-cflags = -DTARGET_BYTES_PER_WORD=$(pointer-size)
|
bootimage-cflags = -DTARGET_BYTES_PER_WORD=$(pointer-size)
|
||||||
|
|
||||||
|
developer-dir := $(shell if test -d /Developer; then echo /Developer; \
|
||||||
|
else echo /Applications/Xcode.app/Contents/Developer; fi)
|
||||||
|
|
||||||
ifeq ($(build-arch),powerpc)
|
ifeq ($(build-arch),powerpc)
|
||||||
ifneq ($(arch),$(build-arch))
|
ifneq ($(arch),$(build-arch))
|
||||||
bootimage-cflags += -DTARGET_OPPOSITE_ENDIAN
|
bootimage-cflags += -DTARGET_OPPOSITE_ENDIAN
|
||||||
@ -254,7 +257,7 @@ ifeq ($(arch),arm)
|
|||||||
|
|
||||||
ifneq ($(arch),$(build-arch))
|
ifneq ($(arch),$(build-arch))
|
||||||
ifeq ($(platform),darwin)
|
ifeq ($(platform),darwin)
|
||||||
ios-bin = /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
|
ios-bin = $(developer-dir)/Platforms/iPhoneOS.platform/Developer/usr/bin
|
||||||
cxx = $(ios-bin)/g++
|
cxx = $(ios-bin)/g++
|
||||||
cc = $(ios-bin)/gcc
|
cc = $(ios-bin)/gcc
|
||||||
ar = $(ios-bin)/ar
|
ar = $(ios-bin)/ar
|
||||||
@ -322,7 +325,7 @@ ifeq ($(platform),darwin)
|
|||||||
converter-cflags += -DOPPOSITE_ENDIAN
|
converter-cflags += -DOPPOSITE_ENDIAN
|
||||||
endif
|
endif
|
||||||
flags = -arch armv7 -isysroot \
|
flags = -arch armv7 -isysroot \
|
||||||
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/
|
$(developer-dir)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/
|
||||||
openjdk-extra-cflags += $(flags)
|
openjdk-extra-cflags += $(flags)
|
||||||
cflags += $(flags)
|
cflags += $(flags)
|
||||||
asmflags += $(flags)
|
asmflags += $(flags)
|
||||||
|
Loading…
Reference in New Issue
Block a user