diff options
author | Dan Miller <dan.r.miller@gmail.com> | 2016-09-19 16:19:54 -0700 |
---|---|---|
committer | Dan Miller <dan.r.miller@gmail.com> | 2016-09-19 16:19:54 -0700 |
commit | b73bed2992c6f58d822eb785b333324e48ef98b7 (patch) | |
tree | eb7f48a94dc90900a9b8abe1482282359594fc57 /CMakeLists.txt | |
parent | Merge pull request #1102 (diff) | |
download | monero-b73bed2992c6f58d822eb785b333324e48ef98b7.tar.xz |
Don't define stdc++ on FreeBSD
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f15c73dc..2193d4499 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -513,7 +513,7 @@ else() # 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) + 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() |