diff options
author | Chip Jones <jonesc@objectcomputing.com> | 2020-02-06 14:54:28 -0600 |
---|---|---|
committer | Chip Jones <jonesc@objectcomputing.com> | 2020-02-06 14:54:28 -0600 |
commit | 76ee5a67011243f5ae7595e324f08ee77a73408a (patch) | |
tree | 3e5e9bbbf159123d0341c6a48920e405f784e96f /ACE/include | |
parent | dfe0e0929249c1c417c4d98ac9aee05476e43c9e (diff) | |
download | ATCD-76ee5a67011243f5ae7595e324f08ee77a73408a.tar.gz |
Add ACE_HAS_IOS preprocessor macro. Change CXXFLAGS to CCFLAGS.
Diffstat (limited to 'ACE/include')
-rw-r--r-- | ACE/include/makeinclude/platform_macosx_iOS.GNU | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ACE/include/makeinclude/platform_macosx_iOS.GNU b/ACE/include/makeinclude/platform_macosx_iOS.GNU index 2f458a57483..c0acc1f9143 100644 --- a/ACE/include/makeinclude/platform_macosx_iOS.GNU +++ b/ACE/include/makeinclude/platform_macosx_iOS.GNU @@ -34,8 +34,8 @@ ifeq ($(IPHONE_TARGET), HARDWARE) ifeq ($(iphone_bitcode),1) # enable bitcode - CCFLAGS += -fembed-bitcode - CXXFLAGS += -fembed-bitcode + CFLAGS += -fembed-bitcode + CCFLAGS += -fembed-bitcode endif ifeq ($(iphone_codesign),1) @@ -45,6 +45,10 @@ endif rwho = 0 endif +# pass a flag to the preprocessor +CFLAGS += -DACE_HAS_IOS +CCFLAGS += -DACE_HAS_IOS + CC:=$(XCODE)/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang CXX:=$(XCODE)/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ AR:=$(XCODE)/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar |