From 94b16497bb59e55cfe47baa4152f1733eebbdfbb Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 29 Jan 2016 19:50:03 +0100 Subject: [PATCH] wscript: add '-fembed-bitcode' when building for iOS (closes #31) --- wscript | 1 + 1 file changed, 1 insertion(+) diff --git a/wscript b/wscript index bd03c521..0a506010 100644 --- a/wscript +++ b/wscript @@ -137,6 +137,7 @@ def configure(ctx): 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' ] -- 2.11.0