aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-10 02:43:28 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-10 02:43:28 +0100
commita853cbdb370a9be9c64040833c44fc7b226067e5 (patch)
treecd2c88233d3d79313770d33e0f3fd4ebcd74ffd4
parenta bunch of stuff... (diff)
downloadscrotty-a853cbdb370a9be9c64040833c44fc7b226067e5.tar.gz
scrotty-a853cbdb370a9be9c64040833c44fc7b226067e5.tar.bz2
scrotty-a853cbdb370a9be9c64040833c44fc7b226067e5.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r--mk/lang-c.mk5
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.