summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt
index fd74c2742e0..5df3f257294 100644
--- a/libcxx/CMakeLists.txt
+++ b/libcxx/CMakeLists.txt
@@ -151,8 +151,10 @@ set_property(CACHE LIBCXX_CXX_ABI PROPERTY STRINGS ;${CXXABIS})
# Without this all the bots fail while building libc++
if (DEFINED ENV{USER})
if (("$ENV{USER}" STREQUAL "buildbot") OR (("$ENV{USER}" STREQUAL "llvmbb") OR ("$ENV{USER}" STREQUAL "buildslave")))
- message(WARNING "OVERRIDING BUILDBOT CONFIG")
- set(LIBCXX_CXX_ABI "default" CACHE STRING "FIXME" FORCE)
+ if (LIBCXX_CXX_ABI STREQUAL "libcxxabi" AND NOT DEFINED LIBCXX_CXX_ABI_INCLUDE_PATHS)
+ message(WARNING "OVERRIDING BUILDBOT CONFIG")
+ set(LIBCXX_CXX_ABI "default" CACHE STRING "FIXME" FORCE)
+ endif()
endif()
endif()
# Setup the default options if LIBCXX_CXX_ABI is not specified.
OpenPOWER on IntegriCloud