Build entire toolchain as PIC for proper static linking
This commit is contained in:
parent
a0384b8b70
commit
654a6d765e
5 changed files with 27 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue