diff options
author | Zachary Michaels <mikezackles@gmail.com> | 2014-08-06 12:45:47 -0400 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-09-15 22:28:35 +0200 |
commit | f9f4fc1b00168f965bbcdbada8e49dc3b1f201ac (patch) | |
tree | 603d11fb7add9878d8cf1ea362fc603d5063b095 | |
parent | Set the boost thread api for mingw (diff) | |
download | monero-f9f4fc1b00168f965bbcdbada8e49dc3b1f201ac.tar.xz |
Change to -static gcc flag
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cb06e7192..a87a03b9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,7 +136,7 @@ else() set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} ${RELEASE_FLAGS}") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} ${RELEASE_FLAGS}") if(STATIC AND NOT APPLE AND NOT FREEBSD) - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static") endif() endif() |