mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-26 16:18:53 +00:00
chore: Update macOS build configuration with optimized flags
This commit is contained in:
@@ -16,10 +16,10 @@ if test "$SURFER_COMPAT" = "true"; then
|
||||
ac_add_options --enable-wasm-avx
|
||||
ac_add_options --enable-optimize="-march=nehalem -mtune=haswell -O3 -w"
|
||||
|
||||
export CFLAGS="-O3 -march=x86-64-v3"
|
||||
export CPPFLAGS="-O3 -march=x86-64-v3"
|
||||
export CXXFLAGS="-O3 -march=x86-64-v3"
|
||||
export LDFLAGS="-Wl,-O3 -march=x86-64-v3"
|
||||
export CFLAGS="-O3 -march=nehalem"
|
||||
export CPPFLAGS="-O3 -march=nehalem"
|
||||
export CXXFLAGS="-O3 -march=nehalem"
|
||||
export LDFLAGS="-Wl,-O3 -march=nehalem"
|
||||
export RUSTFLAGS="-Ctarget-cpu=nehalem -C codegen-units=1"
|
||||
else
|
||||
ac_add_options --target=aarch64-apple-darwin
|
||||
|
||||
Reference in New Issue
Block a user