mirror of
https://github.com/zen-browser/desktop.git
synced 2025-11-05 18:24:29 +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: |
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user