AMBuildScript
changeset 3912 b06c6b3eec00
parent 3890 720531f08850
child 3927 9371ebf3fb35
     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':