[libc++abi] Remove redundant link flags on Apple platforms
authorLouis Dionne <ldionne@apple.com>
Mon, 7 Oct 2019 18:12:10 +0000 (18:12 +0000)
committerLouis Dionne <ldionne@apple.com>
Mon, 7 Oct 2019 18:12:10 +0000 (18:12 +0000)
commitf385a381404797f5c44298d34c4ba804fad556d3
tree48835ce3dae3eb0cfe3554f80f9c0ae3b1199a0e
parent29f7e17cb8b60ecfe4af313cc22fea7a8feb156c
[libc++abi] Remove redundant link flags on Apple platforms

These flags are already set when we create the cxxabi_shared target
using the SOVERSION and VERSION target properties, and the install_name
was already being overriden to '@rpath/libc++abi.1.dylib' by CMake
because no 'CMAKE_INSTALL_NAME_DIR' option was specified. So this is
effectively a removal of dead code with no intended functionality change.

The only think we're losing here is that we used to link against
libSystem.B.dylib instead of libSystem.dylib when building libc++abi
for macOS 10.6 -- however, I strongly suspect nobody's building
libc++abi from source for that target anymore.

llvm-svn: 373934
libcxxabi/src/CMakeLists.txt