build-style/void-cross.sh: adjustments for --enable-autolink-libatomic.

This commit is contained in:
Leah Neukirchen 2022-03-06 02:00:16 +01:00 committed by John Zimmermann
parent 7d803a5847
commit 944f3b8b28
1 changed files with 5 additions and 1 deletions

View File

@ -134,7 +134,7 @@ _void_cross_build_bootstrap_gcc() {
--disable-libmudflap \
--disable-libssp \
--disable-libitm \
--disable-libatomic \
--disable-libatomic --disable-autolink-libatomic \
--disable-gcov \
--disable-threads \
--disable-sjlj-exceptions \
@ -377,6 +377,10 @@ _void_cross_build_gcc() {
msg_normal "Building gcc for ${tgt}\n"
# GIANT HACK: create an empty libatomic.a so gcc cross-compile
# below works.
ar r ${wrksrc}/build_root/usr/${tgt}/usr/lib/libatomic.a
mkdir -p ${wrksrc}/gcc_build
cd ${wrksrc}/gcc_build