diff options
author | fanquake <fanquake@gmail.com> | 2022-06-13 11:10:06 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-25 09:30:57 +0100 |
commit | 4b6b4fc53791e7873e56f01cff1baf692906f340 (patch) | |
tree | b459297921ce8aed806ac62744bd4c5eca34571e | |
parent | 0dd34773334c7f4db7b05df30ee61b011795b46d (diff) | |
download | bitcoin-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
-rwxr-xr-x | contrib/guix/libexec/build.sh | 4 |
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" |