diff options
author | Dan Miller <dan.r.miller@gmail.com> | 2016-09-21 06:42:21 -0700 |
---|---|---|
committer | Dan Miller <dan.r.miller@gmail.com> | 2016-09-21 06:42:21 -0700 |
commit | 344e96cc083a977a88ea9a3e0bc4dddcc2ef91ea (patch) | |
tree | ed35af9951ba657fcfbf422fd11fbc0aac2c5fa1 /CMakeLists.txt | |
parent | Don't define stdc++ on FreeBSD (diff) | |
download | monero-344e96cc083a977a88ea9a3e0bc4dddcc2ef91ea.tar.xz |
remove check for certain clang versions
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2193d4499..e7c3b69b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -512,11 +512,6 @@ else() if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") # There is a clang bug that does not allow to compile code that uses AES-NI intrinsics if -flto is enabled, so explicitly disable set(USE_LTO false) - # explicitly define stdlib for older versions of clang - if(CMAKE_C_COMPILER_VERSION VERSION_LESS 3.7 AND NOT FREEBSD) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++") - endif() endif() |