summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-03-12 04:11:34 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-03-12 04:11:34 +0000
commit55f667ce6457328369be404a6c1de0f5d7189ecb (patch)
tree8882105fdc6cfc6e97c9dbc6e8e6ffd2a55bea91
parenteb547816ea2f8d75074208a8d5a479c4593a393e (diff)
downloadlibcxx_35a-55f667ce6457328369be404a6c1de0f5d7189ecb.tar.gz
build: remove unnecessary modification of CMAKE_REQUIRED_DEFINITIONS
This is unnecessary now that the flag handling has been fixed. The flags will be added properly in the main CMakeLists.txt after the config-ix inclusion which performs the required check. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@203639 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--cmake/config-ix.cmake8
1 files changed, 0 insertions, 8 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index f0219c09..e8adafd6 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -30,11 +30,3 @@ check_library_exists(m ccos "" LIBCXX_HAS_M_LIB)
check_library_exists(rt clock_gettime "" LIBCXX_HAS_RT_LIB)
check_library_exists(gcc_s __gcc_personality_v0 "" LIBCXX_HAS_GCC_S_LIB)
-# Check C++0x features
-if (LIBCXX_ENABLE_CXX0X)
- if (LIBCXX_HAS_STDCXX0X_FLAG)
- set(CMAKE_REQUIRED_DEFINITIONS -std=c++0x)
- endif()
-else()
- set(LIBCXX_HAS_STDCXX0X_FLAG FALSE)
-endif()