diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-09-26 17:32:14 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-09-26 17:32:14 +0200 |
commit | 2025e8241c9c85cea982dd2b0d900846e3e4759a (patch) | |
tree | 585b063865e2c63607363236cd7dc22daae285f7 | |
parent | Merge pull request #1104 (diff) | |
parent | remove check for certain clang versions (diff) | |
download | monero-2025e8241c9c85cea982dd2b0d900846e3e4759a.tar.xz |
Merge pull request #1105
344e96c remove check for certain clang versions (Dan Miller)
b73bed2 Don't define stdc++ on FreeBSD (Dan Miller)
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b65c4ada3..0d82324a3 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) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++") - endif() endif() |