summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/ios.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ios.config b/config/ios.config
index 4256447..e0be465 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -62,9 +62,9 @@ os.environ['LDFLAGS'] = '%s -isysroot %s -Wl,-iphoneos_version_min,%s -Wl,-unde
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')
+os.environ['CPP']= "%s -E" % os.environ['CC']
os.environ['CXXPP']= os.environ['CPP']
-#os.environ['CPPFLAGS'] = '-arch armv7 -isysroot %s' %(sysroot)
+os.environ['CPPFLAGS'] = '%s -isysroot %s' % (arch_cflags, sysroot)
os.environ['CXXFLAGS'] = os.environ['CFLAGS']