From a853cbdb370a9be9c64040833c44fc7b226067e5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 10 Dec 2015 02:43:28 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mk/lang-c.mk | 5 +++++ 1 file changed, 5 insertions(+) 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. -- cgit v1.2.3-70-g09d2