diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-12 04:11:34 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-12 04:11:34 +0000 |
commit | 407964238ffa987525f0f93abc8f11784edd4808 (patch) | |
tree | 8a38a04a15cd3c5ae9f674ea38da87ee13a9aa79 /libcxx/cmake | |
parent | 03e6dbbc05a61c8f9ebb641ed41fce13bc12392e (diff) | |
download | bcm5719-llvm-407964238ffa987525f0f93abc8f11784edd4808.tar.gz bcm5719-llvm-407964238ffa987525f0f93abc8f11784edd4808.zip |
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.
llvm-svn: 203639
Diffstat (limited to 'libcxx/cmake')
-rw-r--r-- | libcxx/cmake/config-ix.cmake | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libcxx/cmake/config-ix.cmake b/libcxx/cmake/config-ix.cmake index f0219c09148..e8adafd6587 100644 --- a/libcxx/cmake/config-ix.cmake +++ b/libcxx/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() |