1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #27 from alliedmodders/64bit-fs-support

Allow support for running on filesystems that use 64-bit inodes on Linux.
This commit is contained in:
Nicholas Hastings 2016-04-26 23:17:48 -04:00
commit de389d9ca8

View File

@ -217,7 +217,7 @@ class MMSConfig(object):
# Platform-specifics # Platform-specifics
if builder.target_platform == 'linux': if builder.target_platform == 'linux':
cfg.defines += ['_LINUX', 'POSIX'] cfg.defines += ['_LINUX', 'POSIX', '_FILE_OFFSET_BITS=64']
if cxx.name == 'gcc': if cxx.name == 'gcc':
cfg.linkflags += ['-static-libgcc'] cfg.linkflags += ['-static-libgcc']
elif cxx.name == 'clang': elif cxx.name == 'clang':