Skip to content

Commit 2dcf3e1

Browse files
committed
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.
1 parent bbf2a25 commit 2dcf3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/guix/libexec/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ case "$HOST" in
250250
esac
251251

252252
case "$HOST" in
253-
powerpc64-linux-*|riscv64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
253+
powerpc64-linux-*) HOST_LDFLAGS="${HOST_LDFLAGS} -Wl,-z,noexecstack" ;;
254254
esac
255255

256256
# Make $HOST-specific native binaries from depends available in $PATH

0 commit comments

Comments
 (0)