Add -mmacosx-version-min=10.5 to compiler flags on OS X.

This commit is contained in:
Scott Ehlert 2014-02-12 19:38:45 -06:00
parent 60bea040d0
commit be4d91c105

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',