[libc++abi] Do not define -Dcxxabi_shared_EXPORTS when building libc++abi
authorLouis Dionne <ldionne@apple.com>
Mon, 7 Oct 2019 18:55:15 +0000 (18:55 +0000)
committerLouis Dionne <ldionne@apple.com>
Mon, 7 Oct 2019 18:55:15 +0000 (18:55 +0000)
CMake sets adds that definition automatically, but we don't need
or use it.

llvm-svn: 373940

libcxxabi/src/CMakeLists.txt

index 8d4eb79..0bb164d 100644 (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)