Fix ___strlcat_chk symbol error on OS X 10.8 and earlier (bug 6046, r=dvander).

This commit is contained in:
Scott Ehlert 2014-02-13 01:28:13 -06:00
parent a4d841655b
commit 9be71eea2f

View File

@ -231,6 +231,7 @@ class SMConfig(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',