projects
/
ldk-c-bindings
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
12da506
)
Note that cross-language LTO requires lld in addition to clang
author
Matt Corallo
<git@bluematt.me>
Tue, 28 Feb 2023 06:58:25 +0000
(06:58 +0000)
committer
Matt Corallo
<git@bluematt.me>
Mon, 6 Mar 2023 22:48:29 +0000
(22:48 +0000)
genbindings.sh
patch
|
blob
|
history
diff --git
a/genbindings.sh
b/genbindings.sh
index 5f2c26f13566d06d6953cd6095de950e07cbb466..731ff9a55f65e14c0ce3d52f67df207958bb9f1c 100755
(executable)
--- a/
genbindings.sh
+++ b/
genbindings.sh
@@
-571,5
+571,5
@@
else
if [ "$CFLAGS_aarch64_apple_darwin" != "" ]; then
RUSTFLAGS="$BASE_RUSTFLAGS -C embed-bitcode=yes -C lto -C target-cpu=apple-a14" CARGO_PROFILE_RELEASE_LTO=true cargo build $CARGO_BUILD_ARGS -v --release --target aarch64-apple-darwin
fi
if [ "$CFLAGS_aarch64_apple_darwin" != "" ]; then
RUSTFLAGS="$BASE_RUSTFLAGS -C embed-bitcode=yes -C lto -C target-cpu=apple-a14" CARGO_PROFILE_RELEASE_LTO=true cargo build $CARGO_BUILD_ARGS -v --release --target aarch64-apple-darwin
fi
- echo "WARNING: Building with cross-language LTO is not avilable without clang-$RUSTC_LLVM_V"
+ echo "WARNING: Building with cross-language LTO is not avilable without clang-$RUSTC_LLVM_V
and lld-$RUSTC_LLVM_V
"
fi
fi