Don't omit frame pointer on msvc builds.
This commit is contained in:
parent
8fb87df0f0
commit
e8dc1480eb
@ -209,6 +209,11 @@ class SM:
|
|||||||
self.compiler.AddToListVar('CFLAGS', '/Od')
|
self.compiler.AddToListVar('CFLAGS', '/Od')
|
||||||
self.compiler.AddToListVar('CFLAGS', '/RTC1')
|
self.compiler.AddToListVar('CFLAGS', '/RTC1')
|
||||||
|
|
||||||
|
#This needs to be after our optimization flags which could otherwise disable it.
|
||||||
|
if self.vendor == 'msvc':
|
||||||
|
# Don't omit frame pointer
|
||||||
|
self.compiler.AddToListVar('CFLAGS', '/Oy-')
|
||||||
|
|
||||||
#Platform-specifics
|
#Platform-specifics
|
||||||
if AMBuild.target['platform'] == 'linux':
|
if AMBuild.target['platform'] == 'linux':
|
||||||
self.compiler.AddToListVar('CDEFINES', '_LINUX')
|
self.compiler.AddToListVar('CDEFINES', '_LINUX')
|
||||||
|
Loading…
Reference in New Issue
Block a user