forked from OSchip/llvm-project
Saleem Abdulrasool: Ensure that __GLIBCXX__ is defined when building with libsupc++.
llvm-svn: 173164
This commit is contained in:
parent
44ee2e7a23
commit
2ac1ae6150
|
@ -67,6 +67,7 @@ get_target_triple(LIBCXX_TARGET_TRIPLE
|
|||
set(LIBCXX_TARGET_TRIPLE ${LIBCXX_TARGET_TRIPLE} CACHE STRING "Target triple.")
|
||||
|
||||
if ("${LIBCXX_CXX_ABI}" STREQUAL "libsupc++")
|
||||
add_definitions(-D__GLIBCXX__)
|
||||
set(LIBCXX_LIBSUPCXX_INCLUDE_PATHS "${LIBCXX_LIBSUPCXX_INCLUDE_PATHS}"
|
||||
CACHE STRINGS
|
||||
"Paths to libsupc++ include directories separate by ';'.")
|
||||
|
|
Loading…
Reference in New Issue