diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-01-22 14:44:06 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-01-22 14:44:06 +0000 |
commit | 2ac1ae6150c006295cd96ea27afd7ff4279b1832 (patch) | |
tree | 58d585e397fa3841300b6fe3f6506e516d7d92dc /libcxx | |
parent | 44ee2e7a23f34cab39b38c189e28d5b91d887e21 (diff) | |
download | bcm5719-llvm-2ac1ae6150c006295cd96ea27afd7ff4279b1832.tar.gz bcm5719-llvm-2ac1ae6150c006295cd96ea27afd7ff4279b1832.zip |
Saleem Abdulrasool: Ensure that __GLIBCXX__ is defined when building with libsupc++.
llvm-svn: 173164
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/CMakeLists.txt | 1 |
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 ';'.") |