AMBuildScript
changeset 838 826391fe59b0
parent 821 b589eb17e403
child 845 d3f3a0a296d5
     1.1 --- a/AMBuildScript	Thu Apr 25 11:32:34 2013 -0400
     1.2 +++ b/AMBuildScript	Mon May 13 14:17:17 2013 -0400
     1.3 @@ -169,6 +169,11 @@
     1.4  				elif 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':