Skip to content

Commit

Permalink
Quell warning on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Jul 12, 2021
1 parent 73f52fd commit 2064e22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion AMBuildScript
Expand Up @@ -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',
Expand Down

0 comments on commit 2064e22

Please sign in to comment.