diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-02-25 22:28:54 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-02-26 16:47:12 +0100 |
commit | fd1061710c35d770ed46a1fffabd5c26b2a3060f (patch) | |
tree | 5f407aff470909267b138d684b1591906f69c44c /config | |
parent | 53bdb4162c212cfa8c612013578820d6557ffcf3 (diff) |
ios.config: Use gcc as preprocessor to pass arch flags correctly
Diffstat (limited to 'config')
-rw-r--r-- | config/ios.config | 4 |
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'] |