Skip to content

Commit

Permalink
fix: specify lld in cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 7, 2024
1 parent 748b995 commit 8e67180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ jobs:
if: matrix.config.target == 'armv7-unknown-linux-gnueabihf'
run: pnpm tauri build --target ${{ matrix.config.target }} --bundles deb -- --config target.armv7-unknown-linux-gnueabihf.linker=\'arm-linux-gnueabihf-gcc\'
env:
RUSTFLAGS: -Awarnings -L/usr/lib/arm-linux-gnueabihf
RUSTFLAGS: -Awarnings -L/usr/lib/arm-linux-gnueabihf -C link-arg=-fuse-ld=lld
CC: arm-linux-gnueabihf-gcc
PKG_CONFIG_SYSROOT_DIR: /usr/lib/arm-linux-gnueabihf
PKG_CONFIG_PATH: /usr/lib/arm-linux-gnueabihf/pkgconfig
Expand All @@ -177,7 +177,7 @@ jobs:
if: matrix.config.target == 'aarch64-unknown-linux-gnu'
run: pnpm tauri build --target ${{ matrix.config.target }} --bundles deb -- --config target.aarch64-unknown-linux-gnu.linker=\'aarch64-linux-gnu-gcc\'
env:
RUSTFLAGS: -Awarnings -L/usr/lib/aarch64-linux-gnu
RUSTFLAGS: -Awarnings -L/usr/lib/aarch64-linux-gnu -C link-arg=-fuse-ld=lld
CC: aarch64-linux-gnu-gcc
PKG_CONFIG_SYSROOT_DIR: /usr/lib/aarch64-linux-gnu
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
Expand Down

0 comments on commit 8e67180

Please sign in to comment.