projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2739eba
)
[libcxxabi] Disable DLL annotations on static
author
Martell Malone
<martellmalone@gmail.com>
Sun, 28 May 2017 22:46:50 +0000
(22:46 +0000)
committer
Martell Malone
<martellmalone@gmail.com>
Sun, 28 May 2017 22:46:50 +0000
(22:46 +0000)
rL288692 renames
_LIBCXXABI_DISABLE_DLL_IMPORT_EXPORT to
_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS
llvm-svn: 304110
libcxxabi/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/libcxxabi/CMakeLists.txt
b/libcxxabi/CMakeLists.txt
index
2a0b4da
..
90ef7c6
100644
(file)
--- a/
libcxxabi/CMakeLists.txt
+++ b/
libcxxabi/CMakeLists.txt
@@
-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)