Commit eafd259 1 parent f6e4225 commit eafd259 Copy full SHA for eafd259
File tree 1 file changed +8
-1
lines changed
contrib/gitian-descriptors
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ script: |
46
46
FAKETIME_PROGS="date ar ranlib nm"
47
47
HOST_CFLAGS="-O2 -g"
48
48
HOST_CXXFLAGS="-O2 -g"
49
- HOST_LDFLAGS= -static-libstdc++
49
+ HOST_LDFLAGS_BASE=" -static-libstdc++"
50
50
51
51
export QT_RCC_TEST=1
52
52
export QT_RCC_SOURCE_DATE_OVERRIDE=1
@@ -160,6 +160,13 @@ script: |
160
160
# Extract the release tarball into a dir for each host and build
161
161
for i in ${HOSTS}; do
162
162
export PATH=${BASEPREFIX}/${i}/native/bin:${ORIGPATH}
163
+ if [ "${i}" = "riscv64-linux-gnu" ]; then
164
+ # Workaround for https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross-ports/+bug/1853740
165
+ # TODO: remove this when no longer needed
166
+ HOST_LDFLAGS="${HOST_LDFLAGS_BASE} -Wl,-z,noexecstack"
167
+ else
168
+ HOST_LDFLAGS="${HOST_LDFLAGS_BASE}"
169
+ fi
163
170
mkdir -p distsrc-${i}
164
171
cd distsrc-${i}
165
172
INSTALLPATH=`pwd`/installed/${DISTNAME}
You can’t perform that action at this time.
0 commit comments