diff --git a/CMakeLists.txt b/CMakeLists.txt index 569ea69..4635be6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,8 @@ set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_POSITION_INDEPENDENT_CODE ON) # add static libgcc and libstdc++ for static linking -# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static-libstdc++") -# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc") option(TILE_BUILD_TESTS "Build tests" ON) option(TILE_BUILD_BENCHMARKS "Build tests" ON)