1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-19 08:52:34 +01:00

Added /OPT:REF to MSVC linker flags.

This commit is contained in:
Scott Ehlert 2010-05-14 02:06:27 -05:00
parent 3eeb34d80a
commit ee3bde30a5

View File

@ -125,6 +125,7 @@ class MMS:
elif self.vendor == 'msvc':
self.compiler.AddToListVar('CFLAGS', '/Ot')
self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:ICF')
self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:REF')
#Debugging
if AMBuild.options.debug == '1':