1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Don't omit frame pointer on msvc builds.

This commit is contained in:
Nicholas Hastings 2013-05-13 14:17:17 -04:00
parent cbce1cf2da
commit aacb75f99d

View File

@ -169,6 +169,11 @@ class MMS:
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':