diff --git a/CMakeLists.txt b/CMakeLists.txt index 5dd55ad..064f445 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,10 @@ else() -fno-trapping-math -freciprocal-math) set(BUILD_FLAGS_RELEASE - -flto) + -flto + -Wl,-gc-sections + -fdata-sections + -ffunction-sections) set(BUILD_FLAGS_DEBUG -g3 -gdwarf