aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authoranonimal <anonimal@i2pmail.org>2016-08-16 12:04:05 +0000
committeranonimal <anonimal@i2pmail.org>2016-08-16 12:04:05 +0000
commit44dab04d885f1a471a4f1dd73e8d951887735c03 (patch)
tree706a25dee101bf6ce80e8ec66222cc6343b6b2b9 /CMakeLists.txt
parentBuild: use Boost 1.58 for Travis build. Refs #956 (diff)
downloadmonero-44dab04d885f1a471a4f1dd73e8d951887735c03.tar.xz
Build: use libstdc++ with clang < 3.7
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt4
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()