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

Changed MSVC compiler flag: /Ot to /Ox.

This commit is contained in:
Scott Ehlert 2010-05-14 02:40:34 -05:00
parent ee3bde30a5
commit 3e17a55a71

View File

@ -123,7 +123,7 @@ class MMS:
if self.vendor == 'gcc': if self.vendor == 'gcc':
self.compiler.AddToListVar('CFLAGS', '-O3') self.compiler.AddToListVar('CFLAGS', '-O3')
elif self.vendor == 'msvc': elif self.vendor == 'msvc':
self.compiler.AddToListVar('CFLAGS', '/Ot') self.compiler.AddToListVar('CFLAGS', '/Ox')
self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:ICF') self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:ICF')
self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:REF') self.compiler.AddToListVar('POSTLINKFLAGS', '/OPT:REF')