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 = ''
|
LPATH = ''
|
||||||
|
|
||||||
if BUILD == 'debug':
|
if BUILD == 'debug':
|
||||||
CFLAGS += ' -O0 -gdwarf-2'
|
CFLAGS += ' -O0 -gstabs+'
|
||||||
AFLAGS += ' -gdwarf-2'
|
AFLAGS += ' -gstabs+'
|
||||||
else:
|
else:
|
||||||
CFLAGS += ' -O2'
|
CFLAGS += ' -O2'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user