summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-22 11:59:25 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-22 22:23:20 +0100
commit5fab81c821e3fdd3e3b8b602d2782d3cc6d65f34 (patch)
treedd3e801f949c8097c3b90966efd92507cd0c8a9b
parent7046dfe650935d158425985f5edc01ae337d90ab (diff)
ios.config: add cpu CFLAGS
-rw-r--r--config/ios.config4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ios.config b/config/ios.config
index 37ba4f9..8204b97 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -33,9 +33,9 @@ if not os.path.exists(sysroot):
ccache = use_ccache and 'ccache ' or ''
extra_cflags=''
if target_arch == Architecture.ARMv7:
- arch_cflags = ' -arch armv7'
+ arch_cflags = ' -arch armv7 -mcpu=cortex-a8 -pipe'
elif target_arch == Architecture.ARM:
- str_arch = ' -arch armv6'
+ str_arch = ' -arch armv6 -mcpu=arm1176jzf-s -pipe'
elif target_arch == Architecture.X86:
str_arch = ' -arch i386 '
extra_cflags='-D__IPHONE_OS_VERSION_MIN_REQUIRED=%s0000' %v1