diff -r 5fcb7681aebd -r b06c6b3eec00 AMBuildScript --- a/AMBuildScript Wed May 08 09:21:40 2013 -0400 +++ b/AMBuildScript Mon May 13 14:19:17 2013 -0400 @@ -208,6 +208,11 @@ if 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':