From f7497ab49464683337be1f93470f3e59d24691b2 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 16 May 2022 13:16:55 -0400 Subject: [PATCH] [waf] update fat option to build for arm64 and x86_64 (see gh-361) --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 3742db4a..048b8a30 100644 --- a/wscript +++ b/wscript @@ -234,8 +234,8 @@ def configure(ctx): ctx.env['cshlib_PATTERN'] = 'lib%s.dll' if target_platform == 'darwin' and ctx.options.enable_fat: - ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64'] - ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64'] + ctx.env.CFLAGS += ['-arch', 'arm64', '-arch', 'x86_64'] + ctx.env.LINKFLAGS += ['-arch', 'arm64', '-arch', 'x86_64'] MINSDKVER="10.4" ctx.env.CFLAGS += [ '-mmacosx-version-min=' + MINSDKVER ] ctx.env.LINKFLAGS += [ '-mmacosx-version-min=' + MINSDKVER ] -- 2.11.0