Add -mmacosx-version-min=10.5 to compiler flags on OS X.
This commit is contained in:
parent
60bea040d0
commit
be4d91c105
|
@ -189,6 +189,7 @@ class AMXXConfig(object):
|
||||||
cfg.postlink += ['-lgcc_eh']
|
cfg.postlink += ['-lgcc_eh']
|
||||||
elif builder.target_platform == 'mac':
|
elif builder.target_platform == 'mac':
|
||||||
cfg.defines += ['OSX', '_OSX', 'POSIX']
|
cfg.defines += ['OSX', '_OSX', 'POSIX']
|
||||||
|
cfg.cflags += ['-mmacosx-version-min=10.5']
|
||||||
cfg.postlink += [
|
cfg.postlink += [
|
||||||
'-mmacosx-version-min=10.5',
|
'-mmacosx-version-min=10.5',
|
||||||
'-arch', 'i386',
|
'-arch', 'i386',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user