diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-10 02:43:28 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-10 02:43:28 +0100 |
commit | a853cbdb370a9be9c64040833c44fc7b226067e5 (patch) | |
tree | cd2c88233d3d79313770d33e0f3fd4ebcd74ffd4 /mk | |
parent | a bunch of stuff... (diff) | |
download | scrotty-a853cbdb370a9be9c64040833c44fc7b226067e5.tar.gz scrotty-a853cbdb370a9be9c64040833c44fc7b226067e5.tar.bz2 scrotty-a853cbdb370a9be9c64040833c44fc7b226067e5.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'mk')
-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. |