diff options
author | comex | 2015-07-12 17:49:43 -0400 |
---|---|---|
committer | comex | 2015-07-12 17:49:43 -0400 |
commit | fc1752a7c3e90ec7d604e9a148482c106672c27b (patch) | |
tree | 2ef55bf39cc01ef7893fb650189fbdb4a0de0026 /configure | |
parent | redo crash reporting - untested (but it compiles) (diff) | |
download | substitute-fc1752a7c3e90ec7d604e9a148482c106672c27b.tar.gz |
fixes
Diffstat (limited to '')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -56,8 +56,12 @@ if settings.enable_werror: for mach in machs + [settings.host_machine()]: settings[mach.name].cflags = ['-Werror'] + settings[mach.name].cflags +# XXX this is a mess and wrong +flags = ['-O3'] +if settings.host_machine().is_cross(): + flags.append('-miphoneos-version-min=8.0') for i in ('cflags', 'ldflags'): - settings.host[i] = ['-miphoneos-version-min=8.0', '-O3'] + settings.host[i] + settings.host[i] = flags + settings.host[i] # todo make overridable? cc_argv = c.cc.argv() |