Skip to content

Commit

Permalink
try rustflags
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhall88 committed Nov 26, 2024
1 parent 0efd0c2 commit 42339a8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions recipes/lrge/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

set -euo pipefail

# Make sure bindgen passes on our compiler flags.
export BINDGEN_EXTRA_CLANG_ARGS="${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"

cargo-bundle-licenses --format yaml --output THIRDPARTY.yml

RUST_BACKTRACE=full cargo install -v --locked --no-track --root "$PREFIX" --path lrge
RUST_BACKTRACE=full RUSTFLAGS="-C linker=$CC" cargo install -v --locked --no-track --root "$PREFIX" --path lrge

0 comments on commit 42339a8

Please sign in to comment.