aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/libexec/build.sh
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-06-08 10:43:25 +0100
committerfanquake <fanquake@gmail.com>2022-06-08 10:43:25 +0100
commit2dcf3e153fbc3f39290e66c1f20c1e613e28a66d (patch)
treefd328ea0ef35be1338f29e496fa066706c7246aa /contrib/guix/libexec/build.sh
parentbbf2a2504459ae70f1d5dc356f9d25f4ccfafdc8 (diff)
downloadbitcoin-2dcf3e153fbc3f39290e66c1f20c1e613e28a66d.tar.xz
guix: re-revert riscv execstack workaround
Now that we use GCC 10 for release builds, we no-longer need to pass-Wl,-z,noexecstack to get a non-executable stack in RISC-V binaries. This was originally removed in #21036, but then re-added in #21799, when we reverted to using GCC 8.
Diffstat (limited to 'contrib/guix/libexec/build.sh')
-rwxr-xr-xcontrib/guix/libexec/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh
index cdf0020d4d..44c769f463 100755
--- a/contrib/guix/libexec/build.sh
+++ b/contrib/guix/libexec/build.sh
@@ -250,7 +250,7 @@ case "$HOST" in
esac
case "$HOST" in
- powerpc64-linux-*|riscv64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
+ powerpc64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
esac
# Make $HOST-specific native binaries from depends available in $PATH