[cfe-commits] [PATCH] [libc++] define __GLIBCXX__ if building with libsupc++
Howard Hinnant
hhinnant at apple.com
Tue Jan 22 06:44:47 PST 2013
On Jan 21, 2013, at 10:00 PM, Saleem Abdulrasool <compnerd at compnerd.org> wrote:
> Ensure that __GLIBCXX__ is defined when building with libsupc++.
>
> http://llvm-reviews.chandlerc.com/D316
>
> Files:
> CMakeLists.txt
>
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt
> +++ CMakeLists.txt
> @@ -67,6 +67,7 @@
> 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 ';'.")
> <D316.1.patch>_______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
Committed revision 173164.
Howard
More information about the cfe-commits
mailing list