Don't omit frame pointer on msvc builds.
authorNicholas Hastings <skamonkey@gmail.com>
Mon May 13 14:19:17 2013 -0400 (2013-05-13)
changeset 3912b06c6b3eec00
parent 3911 5fcb7681aebd
child 3913 a73cf1f26984
Don't omit frame pointer on msvc builds.
AMBuildScript
     1.1 --- a/AMBuildScript	Wed May 08 09:21:40 2013 -0400
     1.2 +++ b/AMBuildScript	Mon May 13 14:19:17 2013 -0400
     1.3 @@ -208,6 +208,11 @@
     1.4  				if self.vendor == 'msvc':
     1.5  					self.compiler.AddToListVar('CFLAGS', '/Od')
     1.6  					self.compiler.AddToListVar('CFLAGS', '/RTC1')
     1.7 +			
     1.8 +			#This needs to be after our optimization flags which could otherwise disable it.
     1.9 +			if self.vendor == 'msvc':
    1.10 +				# Don't omit frame pointer
    1.11 +				self.compiler.AddToListVar('CFLAGS', '/Oy-')
    1.12  
    1.13  			#Platform-specifics
    1.14  			if AMBuild.target['platform'] == 'linux':