[libcxxabi] r304110 - [libcxxabi] Disable DLL annotations on static

Martell Malone via cfe-commits cfe-commits at lists.llvm.org
Sun May 28 15:46:50 PDT 2017


Author: martell
Date: Sun May 28 17:46:50 2017
New Revision: 304110

URL: http://llvm.org/viewvc/llvm-project?rev=304110&view=rev
Log:
[libcxxabi] Disable DLL annotations on static

rL288692 renames
_LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT to
_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS

Modified:
    libcxxabi/trunk/CMakeLists.txt

Modified: libcxxabi/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/CMakeLists.txt?rev=304110&r1=304109&r2=304110&view=diff
==============================================================================
--- libcxxabi/trunk/CMakeLists.txt (original)
+++ libcxxabi/trunk/CMakeLists.txt Sun May 28 17:46:50 2017
@@ -322,7 +322,7 @@ add_definitions(-D_LIBCXXABI_BUILDING_LI
 
 # Disable DLL annotations on Windows for static builds.
 if (WIN32 AND LIBCXXABI_ENABLE_STATIC AND NOT LIBCXXABI_ENABLE_SHARED)
-  add_definitions(-D_LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT)
+  add_definitions(-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS)
 endif()
 
 append_if(LIBCXXABI_COMPILE_FLAGS LIBCXXABI_HAS_WERROR_FLAG -Werror=return-type)




More information about the cfe-commits mailing list