chore: Update version to 1.0.0-a.0 and enable linker option only when not cross compiling

This commit is contained in:
mauro 🤙
2024-07-12 08:26:18 +00:00
parent f97103ce8b
commit 68e990e762
2 changed files with 15 additions and 16 deletions

View File

@@ -1,22 +1,21 @@
if test "$ZEN_RELEASE"; then
ac_add_options --enable-lto=full
ac_add_options --enable-optimize="-march=x86-64 -msse3 -mtune=haswell -O3 -w"
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options RUSTC_OPT_LEVEL=3
export MOZILLA_OFFICIAL=1
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
fi
# not when cross compiling
if ! test "$ZEN_CROSS_COMPILING"; then
ac_add_options --enable-linker=lld
fi
if test "$ZEN_RELEASE"; then
ac_add_options --enable-lto=full
ac_add_options --enable-optimize="-march=x86-64 -msse3 -mtune=haswell -O3 -w"
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options RUSTC_OPT_LEVEL=3
export MOZILLA_OFFICIAL=1
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
fi
ac_add_options --enable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-alsa
ac_add_options --enable-linker=lld
ac_add_options --enable-alsa
ac_add_options --enable-pulseaudio
ac_add_options --enable-strip
fi
# Disable telemetry and tracking
mk_add_options MOZ_TELEMETRY_REPORTING=

View File

@@ -27,7 +27,7 @@
"brandShortName": "Zen Browser",
"brandFullName": "Zen Browser",
"release": {
"displayVersion": "1.0.0-a.1",
"displayVersion": "1.0.0-a.0",
"github": {
"repo": "zen-browser/desktop"
},