gitian-linux: Extend noexec-stack workaround to powerpc

pull/826/head
Wladimir J. van der Laan 4 years ago
parent 00f67c8aa1
commit 543bf745d3

@ -130,7 +130,7 @@ script: |
# Extract the git archive into a dir for each host and build # Extract the git archive into a dir for each host and build
for i in ${HOSTS}; do for i in ${HOSTS}; do
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH} 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 # Workaround for https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross-ports/+bug/1853740
# TODO: remove this when no longer needed # TODO: remove this when no longer needed
HOST_LDFLAGS="${HOST_LDFLAGS_BASE} -Wl,-z,noexecstack" HOST_LDFLAGS="${HOST_LDFLAGS_BASE} -Wl,-z,noexecstack"

Loading…
Cancel
Save