diff options
Diffstat (limited to '')
-rw-r--r-- | mk/lang-c.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/lang-c.mk b/mk/lang-c.mk index 83e305b..a8f9896 100644 --- a/mk/lang-c.mk +++ b/mk/lang-c.mk @@ -65,8 +65,13 @@ OPTIMISE = -O2 -g endif ifndef DEBUG ifdef OPTIMISE +ifdef __USING_GCC OPTIMISE = -Og -g endif +ifndef __USING_GCC +OPTIMISE = -g +endif +endif endif # Warning settings for C code compilation. |