[libc++abi] Do not define -Dcxxabi_shared_EXPORTS when building libc++abi

CMake sets adds that definition automatically, but we don't need
or use it.

llvm-svn: 373940
This commit is contained in:
Louis Dionne 2019-10-07 18:55:15 +00:00
parent bef93a98cd
commit d03068c3e1
1 changed files with 3 additions and 1 deletions

View File

@ -176,7 +176,9 @@ if (LIBCXXABI_ENABLE_SHARED)
SOVERSION
"1"
VERSION
"1.0")
"1.0"
DEFINE_SYMBOL
"")
if(LIBCXXABI_ENABLE_PIC)
set_target_properties(cxxabi_shared PROPERTIES POSITION_INDEPENDENT_CODE ON)