mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-04-15 05:52:34 +03:00
Update AMBuildScript
This commit is contained in:
parent
c304226f58
commit
2994c1c7c8
@ -251,8 +251,8 @@ class AMXXConfig(object):
|
|||||||
]
|
]
|
||||||
|
|
||||||
if builder.options.opt == '1':
|
if builder.options.opt == '1':
|
||||||
cxx.cflags += ['-O2', '-flto=thin']
|
cxx.cflags += ['-O2', '-flto=thin', '-fPIC']
|
||||||
cxx.linkflags += ['-O2', '-flto=thin', '-fuse-ld=lld', '-Wl,-z,notext']
|
cxx.linkflags += ['-O2', '-flto=thin', '-fuse-ld=lld']
|
||||||
|
|
||||||
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