mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-26 12:27:50 +00:00
chore: Enable linker option only when not cross compiling
This commit is contained in:
1
.github/workflows/alpha.yml
vendored
1
.github/workflows/alpha.yml
vendored
@@ -352,6 +352,7 @@ jobs:
|
||||
run: |
|
||||
unset SURFER_PLATFORM
|
||||
export ZEN_RELEASE=1
|
||||
export ZEN_CROSS_COMPILING=1
|
||||
pnpm build
|
||||
|
||||
- name: Package
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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