Stop using -march=x86-64

This commit is contained in:
Alexander David Frick 2022-04-07 10:23:55 -05:00 committed by GitHub
parent 5dc28cc7bf
commit 49581aae12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,9 +30,6 @@ if (current_cpu == "mipsel" || current_cpu == "mips64el" ||
current_cpu == "mips" || current_cpu == "mips64") {
import("//build/config/mips.gni")
}
if (current_cpu == "x64") {
import("//build/config/x64.gni")
}
if (is_mac) {
import("//build/config/apple/symbols.gni")
}
@ -900,7 +897,6 @@ config("compiler_cpu_abi") {
if (current_cpu == "x64") {
cflags += [
"-m64",
"-march=$x64_arch",
"-mavx",
"-maes",
]