mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-08-12 09:09:37 +03:00
Try to enable LTO
This commit is contained in:
parent
af56d964c1
commit
ecf409293a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue