mirror of
https://github.com/darlinghq/cctools-port.git
synced 2024-11-23 04:09:48 +00:00
map -> version-script
This commit is contained in:
parent
5135fb2541
commit
7a2d21ca7f
@ -67,8 +67,8 @@ popd &>/dev/null
|
||||
set -x
|
||||
|
||||
clang++ -shared \
|
||||
-L$LIBDIR -I$INCDIR -Wl,--whole-archive $LIBS -Wl,--no-whole-archive $SYSLIBS \
|
||||
$CXXFLAGS $TMP/lto.cpp $TMP/LTODisassembler.cpp -Wl,-Map,$TMP/lto.exports \
|
||||
-L$LIBDIR -I$INCDIR -Wl,--whole-archive $LIBS -Wl,--no-whole-archive $SYSLIBS \
|
||||
$CXXFLAGS $TMP/lto.cpp $TMP/LTODisassembler.cpp -Wl,-version-script,$TMP/lto.ls \
|
||||
-Wl,-no-undefined -fno-rtti -fPIC -o libLTO.so
|
||||
|
||||
rm -r $TMP
|
||||
|
Loading…
Reference in New Issue
Block a user