Merge pull request #4 from alliedmodders/macmin_cflags

Add -mmacosx-version-min=10.5 to compiler flags on OS X (no bug, r=dvander).
This commit is contained in:
Scott Ehlert 2014-02-12 19:58:19 -06:00
commit f453bca1c3

View File

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