build-libssp: Stop building the real libssp from GCC

As mingw-w64 now provides these routines, we no longer need to build
the original library from GCC.

As building with -fstack-protector-strong still links with -lssp
(and -lssp_nonshared), we still need to provide libraries with these
names, but they can be empty dummy libraries.
This commit is contained in:
Martin Storsjö committed 2023-01-29 01:09:17 +02:00
1 parent ef9806fc0a
commit 4ee7cc97de
7 files changed
+12 -98

No files matched your search

+2 -2
View File
@@ -63,8 +63,8 @@ RUN ./build-llvm.sh $TOOLCHAIN_PREFIX && \
rm -rf /build/*
# Build libssp
COPY build-libssp.sh libssp-Makefile ./
RUN ./build-libssp.sh $TOOLCHAIN_PREFIX $CFGUARD_ARGS && \
COPY build-libssp.sh ./
RUN ./build-libssp.sh $TOOLCHAIN_PREFIX && \
rm -rf /build/*
ENV PATH=$TOOLCHAIN_PREFIX/bin:$PATH