2
0
mirror of https://github.com/alliedmodders/amxmodx.git synced 2025-04-07 10:19:05 +03:00

Quell warning on macOS.

This commit is contained in:
David Anderson 2021-07-11 21:04:16 -07:00
parent 73f52fd53a
commit 2064e224d1

@ -317,7 +317,10 @@ class AMXXConfig(object):
def configure_mac(self, cxx):
cxx.defines += ['OSX', '_OSX', 'POSIX']
cxx.cflags += ['-mmacosx-version-min=10.7']
cxx.cflags += [
'-mmacosx-version-min=10.7',
'-Wno-address-of-packed-member',
]
cxx.linkflags += [
'-mmacosx-version-min=10.7',
'-arch', 'i386',