forked from OSchip/llvm-project
[libcxxabi] Disable DLL annotations on static
rL288692 renames _LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT to _LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS llvm-svn: 304110
This commit is contained in:
parent
2739ebafb6
commit
41119cd07b
|
@ -322,7 +322,7 @@ add_definitions(-D_LIBCXXABI_BUILDING_LIBRARY)
|
|||
|
||||
# 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)
|
||||
|
|
Loading…
Reference in New Issue