File tree Expand file tree Collapse file tree 4 files changed +5
-42
lines changed
Expand file tree Collapse file tree 4 files changed +5
-42
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ RUN ./build-mingw-w64.sh $TOOLCHAIN_PREFIX && \
3737 rm -rf /build/*
3838
3939# Build libunwind/libcxxabi/libcxx
40- COPY build-libcxx.sh merge-archives.sh ./
40+ COPY build-libcxx.sh ./
4141RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX && \
4242 rm -rf /build/*
4343
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ RUN cd test && \
6565 done
6666
6767# Build libunwind/libcxxabi/libcxx
68- COPY build-libcxx.sh merge-archives.sh ./
68+ COPY build-libcxx.sh ./
6969RUN ./build-libcxx.sh $TOOLCHAIN_PREFIX
7070
7171# Build C++ test applications
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ if [ -n "$SYNC" ] || [ -n "$CHECKOUT_LIBCXX" ]; then
6666fi
6767
6868LIBCXX=$( pwd) /libcxx
69- MERGE_ARCHIVES=$( pwd) /merge-archives.sh
7069
7170case $( uname) in
7271MINGW* )
@@ -125,7 +124,7 @@ build_all() {
125124 else
126125 # Merge libpsapi.a into the static library libunwind.a, to
127126 # avoid having to specify -lpsapi when linking to it.
128- $MERGE_ARCHIVES \
127+ llvm-ar qcsL \
129128 $PREFIX /$arch -w64-mingw32/lib/libunwind.a \
130129 $PREFIX /$arch -w64-mingw32/lib/libpsapi.a
131130 fi
@@ -219,12 +218,12 @@ build_all() {
219218 make -j$CORES
220219 make install
221220 if [ " $type " = " shared" ]; then
222- $MERGE_ARCHIVES \
221+ llvm-ar qcsL \
223222 $PREFIX /$arch -w64-mingw32/lib/libc++.dll.a \
224223 $PREFIX /$arch -w64-mingw32/lib/libunwind.dll.a
225224 cp lib/libc++.dll $PREFIX /$arch -w64-mingw32/bin
226225 else
227- $MERGE_ARCHIVES \
226+ llvm-ar qcsL \
228227 $PREFIX /$arch -w64-mingw32/lib/libc++.a \
229228 $PREFIX /$arch -w64-mingw32/lib/libunwind.a
230229 fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments