diff -r 978c7cd9b0b2 -r 826391fe59b0 AMBuildScript --- a/AMBuildScript Thu Apr 25 11:32:34 2013 -0400 +++ b/AMBuildScript Mon May 13 14:17:17 2013 -0400 @@ -169,6 +169,11 @@ 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':