mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-04-15 05:52:34 +03:00
Try to enable LTO
This commit is contained in:
parent
af56d964c1
commit
ecf409293a
@ -251,7 +251,8 @@ class AMXXConfig(object):
|
|||||||
]
|
]
|
||||||
|
|
||||||
if builder.options.opt == '1':
|
if builder.options.opt == '1':
|
||||||
cxx.cflags += ['-O2']
|
cxx.cflags += ['-O2', '-flto']
|
||||||
|
cxx.linkflags += ['-O2', '-flto']
|
||||||
|
|
||||||
def configure_msvc(self, cxx):
|
def configure_msvc(self, cxx):
|
||||||
if builder.options.debug == '1':
|
if builder.options.debug == '1':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user