mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-01-31 20:52:18 +01:00
Added /OPT:REF to MSVC linker flags.
This commit is contained in:
parent
3eeb34d80a
commit
ee3bde30a5
@ -125,6 +125,7 @@ class MMS:
|
|||||||
elif self.vendor == 'msvc':
|
elif self.vendor == 'msvc':
|
||||||
self.compiler.AddToListVar('CFLAGS', '/Ot')
|
self.compiler.AddToListVar('CFLAGS', '/Ot')
|
||||||
self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:ICF')
|
self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:ICF')
|
||||||
|
self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:REF')
|
||||||
|
|
||||||
#Debugging
|
#Debugging
|
||||||
if AMBuild.options.debug == '1':
|
if AMBuild.options.debug == '1':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user