diff options
author | anonimal <anonimal@i2pmail.org> | 2016-08-16 12:04:05 +0000 |
---|---|---|
committer | anonimal <anonimal@i2pmail.org> | 2016-08-16 12:04:05 +0000 |
commit | 44dab04d885f1a471a4f1dd73e8d951887735c03 (patch) | |
tree | 706a25dee101bf6ce80e8ec66222cc6343b6b2b9 | |
parent | Build: use Boost 1.58 for Travis build. Refs #956 (diff) | |
download | monero-44dab04d885f1a471a4f1dd73e8d951887735c03.tar.xz |
Build: use libstdc++ with clang < 3.7
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 90d06c12d..bb5e4b1ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -407,8 +407,8 @@ else() 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=libc++") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libstdc++") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libstdc++") endif() endif() |