diff --git a/CMakeLists.txt b/CMakeLists.txt index c5526eea5..1297757c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ message(STATUS "Build type: ${CMAKE_BUILD_TYPE}") set(CMAKE_CXX_FLAGS "-Wall") set(CMAKE_CXX_FLAGS_DEBUG "-g -fsanitize=address") -set(CMAKE_CXX_FLAGS_RELEASE "-O3 -static-libstdc++ -static-libgcc") +set(CMAKE_CXX_FLAGS_RELEASE "-O3") # Work-around only for MacOS if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")