Remove -target-cpu flag from Mac targets
Because this option is unsupported in bitcode embedding.
This commit is contained in:
@@ -98,7 +98,7 @@ targetToolchain.macos_arm64-macos_x64 = target-toolchain-xcode_12_2-macos_x64
|
||||
arch.macos_x64 = x86_64
|
||||
targetSysRoot.macos_x64 = target-sysroot-xcode_12_2-macos_x64
|
||||
targetCpu.macos_x64 = core2
|
||||
clangFlags.macos_x64 = -cc1 -emit-obj -disable-llvm-passes -x ir -target-cpu $targetCpu.macos_x64
|
||||
clangFlags.macos_x64 = -cc1 -emit-obj -disable-llvm-passes -x ir
|
||||
clangNooptFlags.macos_x64 = -O1
|
||||
clangOptFlags.macos_x64 = -O3
|
||||
clangDebugFlags.macos_x64 = -O0
|
||||
@@ -137,7 +137,7 @@ arch.macos_arm64 = arm64
|
||||
targetSysRoot.macos_arm64 = target-sysroot-xcode_12_2-macos_x64
|
||||
# TODO: Check Clang behaviour.
|
||||
targetCpu.macos_arm64 = cyclone
|
||||
clangFlags.macos_arm64 = -cc1 -emit-obj -disable-llvm-passes -x ir -target-cpu $targetCpu.macos_arm64
|
||||
clangFlags.macos_arm64 = -cc1 -emit-obj -disable-llvm-passes -x ir
|
||||
clangNooptFlags.macos_arm64 = -O1
|
||||
clangOptFlags.macos_arm64 = -O3
|
||||
# See clangDebugFlags.ios_arm64
|
||||
|
||||
Reference in New Issue
Block a user