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: | run: |
unset SURFER_PLATFORM unset SURFER_PLATFORM
export ZEN_RELEASE=1 export ZEN_RELEASE=1
export ZEN_CROSS_COMPILING=1
pnpm build pnpm build
- name: Package - name: Package

View File

@@ -9,7 +9,11 @@ if test "$ZEN_RELEASE"; then
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64" export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
fi 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-pulseaudio
ac_add_options --enable-strip ac_add_options --enable-strip
ac_add_options --enable-alsa ac_add_options --enable-alsa

View File

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