build-style/void-cross.sh: adjustments for --enable-autolink-libatomic.
This commit is contained in:
parent
7d803a5847
commit
944f3b8b28
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue