Changeset f7497ab


Ignore:
Timestamp:
May 16, 2022, 7:16:55 PM (2 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
master
Children:
efda2bd
Parents:
dd9287c
Message:

[waf] update fat option to build for arm64 and x86_64 (see gh-361)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    rdd9287c rf7497ab  
    235235
    236236    if target_platform == 'darwin' and ctx.options.enable_fat:
    237         ctx.env.CFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
    238         ctx.env.LINKFLAGS += ['-arch', 'i386', '-arch', 'x86_64']
     237        ctx.env.CFLAGS += ['-arch', 'arm64', '-arch', 'x86_64']
     238        ctx.env.LINKFLAGS += ['-arch', 'arm64', '-arch', 'x86_64']
    239239        MINSDKVER="10.4"
    240240        ctx.env.CFLAGS += [ '-mmacosx-version-min=' + MINSDKVER ]
Note: See TracChangeset for help on using the changeset viewer.