Don't omit frame pointer on msvc builds.

This commit is contained in:
Nicholas Hastings 2013-05-13 14:17:17 -04:00
parent 63d39b49dc
commit 4c13bc47dd

View File

@ -186,6 +186,11 @@ class MMS:
elif self.vendor == 'msvc':
self.compiler.AddToListVar('CFLAGS', '/Od')
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
if AMBuild.target['platform'] == 'linux':