Update windows_mozconfig and linux/mozconfig files

This commit is contained in:
Mauro Balades
2024-07-21 02:08:07 +02:00
parent 7c99456c00
commit 542de32106
2 changed files with 11 additions and 6 deletions

View File

@@ -8,11 +8,13 @@ export WINEDEBUG=-all
#? https://bugzilla.mozilla.org/show_bug.cgi?id=1617793
#? https://phabricator.services.mozilla.com/D170170
ac_add_options --target=x86_64-pc-windows-msvc
ac_add_options --with-toolchain-prefix=x86_64-pc-mingw32
export MOZ_STUB_INSTALLER=1
export MOZ_PKG_FORMAT=TAR
export CROSS_BUILD=1
CROSS_COMPILE=1
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
TOOLS=$(echo ~)/win-cross
@@ -29,4 +31,6 @@ export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
ac_add_options --disable-maintenance-service
ac_add_options --disable-bits-download
ac_add_options --enable-optimize="-mavx -maes /O2 /clang:-O3 /arch:AVX"
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE

View File

@@ -15,15 +15,16 @@ if ! test "$ZEN_CROSS_COMPILING"; then
fi
ac_add_options --enable-linker=lld
ac_add_options --enable-strip
export STRIP_FLAGS="--strip-debug --strip-unneeded"
fi
if test "$ZEN_RELEASE"; then
if ! test "$ZEN_CROSS_COMPILING"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
ac_add_options --enable-strip
export STRIP_FLAGS="--strip-debug --strip-unneeded"
if ! test "$ZEN_CROSS_COMPILING"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
fi
# Disable telemetry and tracking