Quell warning on macOS.
This commit is contained in:
parent
7fb6440ce9
commit
37cbccef6a
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user