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…
Reference in New Issue