File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,17 @@ shards_to_test = expand_cxxstring_abis(expand_gfortran_versions(shards_to_test))
140
140
if [[ "${target}" == i686-*-mingw* ]]; then
141
141
while which rustc &> /dev/null; do rm $(which rustc); done
142
142
fi
143
+
144
+ FLAGS=()
145
+ if [[ "${target}" == riscv*-linux-* ]]; then
146
+ # There's currently a bug in the testsuite where we force linking to
147
+ # libquadmath on RISC-V. We use this hack to quickly fix it here without
148
+ # rebuilding the RootFS.
149
+ FLAGS=(CFLDFLAGS="-lgfortran -lm")
150
+ fi
151
+
143
152
# Build testsuite
144
- make -j${nproc} -sC /usr/share/testsuite install
153
+ make -j${nproc} -sC /usr/share/testsuite install "${FLAGS[@]}"
145
154
# Install fake license just to silence the warning
146
155
install_license /usr/share/licenses/libuv/LICENSE
147
156
""" ,
You can’t perform that action at this time.
0 commit comments