mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 14:53:32 +08:00
insight can not get along with -gdwarf-2 very well. So, we use -gstabs+ for more compatibility.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1438 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
e9e1c20aeb
commit
2f32cd9d72
@ -39,8 +39,8 @@ if PLATFORM == 'gcc':
|
||||
LPATH = ''
|
||||
|
||||
if BUILD == 'debug':
|
||||
CFLAGS += ' -O0 -gdwarf-2'
|
||||
AFLAGS += ' -gdwarf-2'
|
||||
CFLAGS += ' -O0 -gstabs+'
|
||||
AFLAGS += ' -gstabs+'
|
||||
else:
|
||||
CFLAGS += ' -O2'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user