2 # This script set ios specific flags (GNU GCC)
7 # setting of IOS is almost the same as Darwin(MAC OSX)
8 env.SConscript('../darwin/SConscript')
10 sys_version = env.get('SYS_VERSION')
11 if env.get('TARGET_ARCH') in ['i386', 'x86_64']: #Simulator
12 flag = '-mios-simulator-version-min=' + sys_version
13 env.AppendUnique(CCFLAGS = [flag])
14 env.AppendUnique(LINKFLAGS = [flag])
16 flag = '-miphoneos-version-min=' + sys_version
17 env.AppendUnique(CCFLAGS = [flag])
18 env.AppendUnique(LINKFLAGS = [flag])