Build entire toolchain as PIC for proper static linking

This commit is contained in:
BtbN 2021-05-14 22:06:51 +02:00
parent a0384b8b70
commit 654a6d765e
5 changed files with 27 additions and 18 deletions

View file

@ -20,13 +20,11 @@ RUN \
-and -not -name 'libdl.*' \
-and -not -name 'libc.*' \
-and -not -name 'libm.*' \
-and -not -name 'libgomp.*' \
-delete && \
find /opt/ct-ng \
-name 'libdl.a' \
-or -name 'libc.a' \
-or -name 'libm.a' \
-or -name 'libgomp.a' \
-delete
ADD toolchain.cmake /toolchain.cmake