1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-29 11:24:19 +01:00

Add -mmacosx-version-min=10.5 to compiler flags on OS X. (no bug, r=me).

This commit is contained in:
Scott Ehlert 2014-02-13 02:12:59 -06:00
parent ed9b6d695a
commit 44c047ae4b

View File

@ -206,6 +206,7 @@ class MMSConfig(object):
cfg.linkflags += ['-lgcc_eh']
elif builder.target_platform == 'mac':
cfg.defines += ['OSX', '_OSX', 'POSIX']
cfg.cflags += ['-mmacosx-version-min=10.5']
cfg.linkflags += [
'-mmacosx-version-min=10.5',
'-arch', 'i386',