ref: 94b16497bb59e55cfe47baa4152f1733eebbdfbb
parent: 6d8db8043ee693c2e494fa565bd8ad5b49797920
author: Paul Brossier <piem@piem.org>
date: Fri Jan 29 14:50:03 EST 2016
wscript: add '-fembed-bitcode' when building for iOS (closes #31)
--- a/wscript
+++ b/wscript
@@ -137,6 +137,7 @@
DEVROOT = "/Applications/Xcode.app/Contents"
DEVROOT += "/Developer/Platforms/iPhoneOS.platform/Developer"
SDKROOT = "%(DEVROOT)s/SDKs/iPhoneOS.sdk" % locals()
+ ctx.env.CFLAGS += [ '-fembed-bitcode' ]
ctx.env.CFLAGS += [ '-arch', 'arm64' ]
ctx.env.CFLAGS += [ '-arch', 'armv7' ]
ctx.env.CFLAGS += [ '-arch', 'armv7s' ]