summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index b793e6ec54e..96d17fb732e 100644
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -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 ';'.")
OpenPOWER on IntegriCloud