-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This ony fixes the static issue for the binaries built in this repo, you will need to define these yourself if using backhand as a library! See: - #150 - alexcrichton/xz2-rs#105 - alexcrichton/xz2-rs#111
- Loading branch information
1 parent
53950b7
commit d088d07
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
[env] | ||
# 1. Always remove debug asserts | ||
# | ||
# 2. Enable decoder/endocder | ||
# TODO: This should be done upstream! See the following issues: | ||
# - https://github.com/wcampbell0x2a/backhand/issues/150 | ||
# - https://github.com/alexcrichton/xz2-rs/issues/105 | ||
# - https://github.com/alexcrichton/xz2-rs/pull/111 | ||
CFLAGS = "-D NDEBUG=1 -D HAVE_DECODER_ARM=1 -D HAVE_ENCODER_ARM=1 -D HAVE_DECODER_ARM64=1 -D HAVE_ENCODER_ARM64=1 -D HAVE_DECODER_ARMTHUMB=1 -D HAVE_ENCODER_ARMTHUMB=1" | ||
|
||
[target."x86_64-unknown-linux-musl"] | ||
rustflags = ["-C", "target-feature=+crt-static"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters