diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-19 17:14:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 17:14:42 +0100 |
commit | 71f53a5ba3656bb21056ffb292f9a89f3ea33824 (patch) | |
tree | 350082b199d44f04be7608c073721919b154fcbf | |
parent | c9bd11a479099bf9d0e9d3cb61f9bf362e76344e (diff) | |
parent | dbbbb53927652f6ae49a6174eb8f49af5cacd1db (diff) |
Merge pull request #43687 from akien-mga/macos-osxcross-link-arm64
OSX: Fix linking with osxcross for arm64
-rw-r--r-- | platform/osx/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 64e1d94f39..671efa216c 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -87,8 +87,8 @@ def configure(env): if env["arch"] == "arm64": print("Building for macOS 10.15+, platform arm64.") - env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=10.15", "-target", "arm64-apple-macos10.15"]) - env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=10.15", "-target", "arm64-apple-macos10.15"]) + env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=10.15"]) + env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=10.15"]) else: print("Building for macOS 10.12+, platform x86-64.") env.Append(CCFLAGS=["-arch", "x86_64", "-mmacosx-version-min=10.12"]) |