chore: Enable linker option only when not cross compiling

This commit is contained in:
mauro 🤙
2024-07-12 08:15:17 +00:00
parent cdd67cd79e
commit 0cfb6875c5
3 changed files with 7 additions and 2 deletions

View File

@@ -352,6 +352,7 @@ jobs:
run: |
unset SURFER_PLATFORM
export ZEN_RELEASE=1
export ZEN_CROSS_COMPILING=1
pnpm build
- name: Package

View File

@@ -9,7 +9,11 @@ if test "$ZEN_RELEASE"; then
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
fi
ac_add_options --enable-linker=lld
# not when cross compiling
if ! test "$ZEN_CROSS_COMPILING"; then
ac_add_options --enable-linker=lld
fi
ac_add_options --enable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-alsa

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"
},