Skip to content

Commit 2064e22

Browse files
committed
Quell warning on macOS.
1 parent 73f52fd commit 2064e22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

AMBuildScript

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,10 @@ class AMXXConfig(object):
317317

318318
def configure_mac(self, cxx):
319319
cxx.defines += ['OSX', '_OSX', 'POSIX']
320-
cxx.cflags += ['-mmacosx-version-min=10.7']
320+
cxx.cflags += [
321+
'-mmacosx-version-min=10.7',
322+
'-Wno-address-of-packed-member',
323+
]
321324
cxx.linkflags += [
322325
'-mmacosx-version-min=10.7',
323326
'-arch', 'i386',

0 commit comments

Comments
 (0)