summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-22 12:21:58 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-02-22 22:23:21 +0100
commitd89db12f591dc9496d8f65c873f4e3fc4667ba77 (patch)
tree7950eb32eeba30f6a271d2988b51ebeaf23d1985 /config
parent4ffcaeb7efa494c0b813c8f2574c4b72a21bcab8 (diff)
ios.config: use min_version for the CFLAGS too
Diffstat (limited to 'config')
-rw-r--r--config/ios.config4
1 files changed, 1 insertions, 3 deletions
diff --git a/config/ios.config b/config/ios.config
index 5aa3a1e..9c2882d 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -15,10 +15,8 @@ min_version='6.0'
if target_distro_version == DistroVersion.IOS_6_0:
v = '6.0'
- v1 = '60'
elif target_distro_version == DistroVersion.IOS_6_1:
v = '6.1'
- v1 = '61'
else:
raise FatalError("Distro version %s not supported" %(target_distro_version))
@@ -38,7 +36,7 @@ elif target_arch == Architecture.ARM:
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
+ extra_cflags='-D__IPHONE_OS_VERSION_MIN_REQUIRED=%s0000' % min_version.replace('.', '')
else:
raise FatalError("Arch not supported")