Update AMBuildScript

This commit is contained in:
Alik Aslanyan 2019-01-26 19:02:39 +04:00 committed by GitHub
parent 26418ca89f
commit c304226f58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,8 +251,8 @@ class AMXXConfig(object):
]
if builder.options.opt == '1':
cxx.cflags += ['-O2', '-flto']
cxx.linkflags += ['-O2', '-flto', '-fuse-ld=lld', '-Wl,-z,notext']
cxx.cflags += ['-O2', '-flto=thin']
cxx.linkflags += ['-O2', '-flto=thin', '-fuse-ld=lld', '-Wl,-z,notext']
def configure_msvc(self, cxx):
if builder.options.debug == '1':