mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-25 15:48:59 +00:00
chore: Update Windows mozconfig for better optimization and compatibility
This commit is contained in:
@@ -35,13 +35,13 @@ ac_add_options --disable-bits-download
|
||||
ac_add_options --without-wasm-sandboxed-libraries
|
||||
|
||||
if test "$SURFER_COMPAT" = "true"; then
|
||||
ac_add_options --enable-optimize="-O3 -mavx -maes -w -ftree-vectorize"
|
||||
ac_add_options --enable-optimize="-O3 -w -ftree-vectorize"
|
||||
|
||||
export CFLAGS="-mavx -maes -mtune=haswell -march=x86-64"
|
||||
export CPPFLAGS="-mavx -maes -mtune=haswell -march=x86-64"
|
||||
export CXXFLAGS="-mavx -maes -mtune=haswell -march=x86-64"
|
||||
export CFLAGS="-mtune=haswell -march=x86-64"
|
||||
export CPPFLAGS="-mtune=haswell -march=x86-64"
|
||||
export CXXFLAGS="-mtune=haswell -march=x86-64"
|
||||
export LDFLAGS="-Wl,-O3"
|
||||
export RUSTFLAGS="-C target-feature=+avx -C codegen-units=1 -Ctarget-cpu=x86-64"
|
||||
export RUSTFLAGS="-C codegen-units=1 -Ctarget-cpu=x86-64"
|
||||
else
|
||||
ac_add_options --enable-optimize="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -Xclang -ftree-vectorize -w"
|
||||
ac_add_options --enable-wasm-avx
|
||||
|
||||
Reference in New Issue
Block a user