refactor: update mozconfig files to enable clang plugin for macOS and remove it for Windows

This commit is contained in:
mr. M
2025-03-30 16:43:42 +02:00
parent 8391e6fc2f
commit e200b6080b
3 changed files with 3 additions and 5 deletions

View File

@@ -32,7 +32,8 @@ fi
if test "$ZEN_RELEASE"; then
ac_add_options --enable-clang-plugin
# TODO: Make this successful in builds
# ac_add_options --enable-clang-plugin
ac_add_options --enable-bootstrap=-sccache
ac_add_options --enable-release

View File

@@ -30,9 +30,8 @@ if test "$SURFER_COMPAT" = "x86_64"; then
export CXXFLAGS="-O3 -march=nehalem"
export LDFLAGS="-Wl,-O3 -march=nehalem"
export RUSTFLAGS="-Ctarget-cpu=nehalem"
ac_add_options --disable-clang-plugin
else
ac_add_options --enable-clang-plugin
ac_add_options --target=aarch64-apple-darwin
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 -march=armv8.3-a+simd"

View File

@@ -25,8 +25,6 @@ fi
ac_add_options --disable-maintenance-service
ac_add_options --disable-bits-download
ac_add_options --disable-clang-plugin
if test "$SURFER_COMPAT" = "x86_64"; then
ac_add_options --target=x86_64-pc-windows-msvc