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

Update AMBuildScript

This commit is contained in:
vanz666 2023-11-15 16:37:31 +03:00 committed by Nicholas Hastings
parent c5456647c1
commit 1a0c220656

View File

@ -221,7 +221,7 @@ class MMSConfig(object):
# Platform-specifics # Platform-specifics
if cxx.target.platform == 'linux': if cxx.target.platform == 'linux':
cxx.defines += ['_LINUX', 'POSIX', '_FILE_OFFSET_BITS=64'] cxx.defines += ['LINUX', '_LINUX', 'POSIX', '_FILE_OFFSET_BITS=64']
if cxx.family == 'gcc': if cxx.family == 'gcc':
cxx.linkflags += ['-static-libgcc'] cxx.linkflags += ['-static-libgcc']
elif cxx.family == 'clang': elif cxx.family == 'clang':