aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-06-13 11:10:06 +0100
committerfanquake <fanquake@gmail.com>2022-06-25 09:30:57 +0100
commit4b6b4fc53791e7873e56f01cff1baf692906f340 (patch)
treeb459297921ce8aed806ac62744bd4c5eca34571e /contrib
parent0dd34773334c7f4db7b05df30ee61b011795b46d (diff)
downloadbitcoin-4b6b4fc53791e7873e56f01cff1baf692906f340.tar.xz
guix: remove usage of -Wl,-z,noexecstack for PPC64 HOST
The PPC64 ABI has a non-executable stack by default, and does not need a GNU_STACK program header. See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/powerpc/include/asm/page_64.h#n92
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/guix/libexec/build.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/guix/libexec/build.sh b/contrib/guix/libexec/build.sh
index 44c769f463..ad3129184c 100755
--- a/contrib/guix/libexec/build.sh
+++ b/contrib/guix/libexec/build.sh
@@ -249,10 +249,6 @@ case "$HOST" in
*powerpc64*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,--no-tls-get-addr-optimize" ;;
esac
-case "$HOST" in
- powerpc64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
-esac
-
# Make $HOST-specific native binaries from depends available in $PATH
export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
mkdir -p "$DISTSRC"