Skip to content

Commit 4b6b4fc

Browse files
committed
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
1 parent 0dd3477 commit 4b6b4fc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

contrib/guix/libexec/build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,6 @@ case "$HOST" in
249249
*powerpc64*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,--no-tls-get-addr-optimize" ;;
250250
esac
251251

252-
case "$HOST" in
253-
powerpc64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
254-
esac
255-
256252
# Make $HOST-specific native binaries from depends available in $PATH
257253
export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
258254
mkdir -p "$DISTSRC"

0 commit comments

Comments
 (0)