From 68e990e762197b027da25acd9e67c7f64bfba3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?mauro=20=F0=9F=A4=99?= Date: Fri, 12 Jul 2024 08:26:18 +0000 Subject: [PATCH] chore: Update version to 1.0.0-a.0 and enable linker option only when not cross compiling --- configs/linux/mozconfig | 29 ++++++++++++++--------------- surfer.json | 2 +- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/configs/linux/mozconfig b/configs/linux/mozconfig index 1a78ea659..36fb7d812 100644 --- a/configs/linux/mozconfig +++ b/configs/linux/mozconfig @@ -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= diff --git a/surfer.json b/surfer.json index fee2a7c49..9e7c02b5d 100644 --- a/surfer.json +++ b/surfer.json @@ -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" },