summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-25 20:18:12 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-26 11:34:03 +0100
commit0ea1ebe6e949241d28168f9ab22b1f1880783399 (patch)
tree76297a1eea5a535c0e60633544940cbdf1ec1f4c /config
parentee6e991d8255172ba7c3fb8cbf31f5ba04a45131 (diff)
ios.config: add OBJCFLAGS and OBJLDFLAGS for Objective-C
Diffstat (limited to 'config')
-rw-r--r--config/ios.config2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/ios.config b/config/ios.config
index cc2e507..4256447 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -57,7 +57,9 @@ os.environ['RANLIB']= os.path.join(iphone_platform, 'usr', 'bin', 'ranlib')
os.environ['AS']= os.path.join(iphone_platform, 'usr', 'bin', 'as')
os.environ['GAS']= '%s %s' % ('gas-preprocessor.pl', os.environ['CC'])
os.environ['CFLAGS'] = '%s -isysroot %s -miphoneos-version-min=%s %s' %(arch_cflags, sysroot, min_version, extra_cflags)
+os.environ['OBJCFLAGS'] = os.environ['CFLAGS']
os.environ['LDFLAGS'] = '%s -isysroot %s -Wl,-iphoneos_version_min,%s -Wl,-undefined,error -Wl,-headerpad_max_install_names' %(arch_cflags, sysroot, min_version)
+os.environ['OBJLDFLAGS'] = os.environ['LDFLAGS']
os.environ['CXX']= os.path.join(iphone_platform, 'usr', 'bin', 'llvm-g++-4.2')
os.environ['CPP']= os.path.join(iphone_platform, 'usr', 'bin', 'llvm-cpp-4.2')