summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/gcc.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/gcc.cmake b/Modules/Platform/gcc.cmake
index 0029d2e..2db99bb 100644
--- a/Modules/Platform/gcc.cmake
+++ b/Modules/Platform/gcc.cmake
@@ -4,3 +4,7 @@ SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3")
SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2")
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")
SET (CMAKE_C_FLAGS_INIT "")
+SET (CMAKE_C_FLAGS_DEBUG_INIT "-g")
+SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O3")
+SET (CMAKE_C_FLAGS_RELEASE_INIT "-O2")
+SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-O2 -g")