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:
commit
de389d9ca8
@ -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':
|
||||||
|
Loading…
Reference in New Issue
Block a user