aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2021-01-24 23:32:43 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2021-01-24 23:33:16 +0100
commit543bf745d38ca2f9f7f9f49483772d51154b93a7 (patch)
tree83fd3d882107fe58fc799c121d9127781f31532e
parent00f67c8aa1b8f596f945db30cdc00d54c6e34665 (diff)
gitian-linux: Extend noexec-stack workaround to powerpc
-rw-r--r--contrib/gitian-descriptors/gitian-linux.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gitian-descriptors/gitian-linux.yml b/contrib/gitian-descriptors/gitian-linux.yml
index 0dce100df2..a0ff87b531 100644
--- a/contrib/gitian-descriptors/gitian-linux.yml
+++ b/contrib/gitian-descriptors/gitian-linux.yml
@@ -130,7 +130,7 @@ script: |
# Extract the git archive into a dir for each host and build
for i in ${HOSTS}; do
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
- if [ "${i}" = "riscv64-linux-gnu" ]; then
+ if [ "${i}" = "riscv64-linux-gnu" ] || [ "${i}" = "powerpc64-linux-gnu" ] || [ "${i}" = "powerpc64le-linux-gnu" ]; then
# Workaround for https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross-ports/+bug/1853740
# TODO: remove this when no longer needed
HOST_LDFLAGS="${HOST_LDFLAGS_BASE} -Wl,-z,noexecstack"