mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-06 08:47:03 +00:00
chore: Update version to 1.0.0-a.0 and enable linker option only when not cross compiling
This commit is contained in:
@@ -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=
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user