Skip to content
Permalink
Browse files

Fix GCC 9 Builds (#1024)

  • Loading branch information...
Headline committed May 29, 2019
1 parent 216ba8b commit 2164f5191e869dd0711242a73b37bef6a72d8c81
Showing with 2 additions and 1 deletion.
  1. +2 −1 AMBuildScript
@@ -295,7 +295,8 @@ class SMConfig(object):
cxx.cxxflags += ['-Wno-delete-non-virtual-dtor']
if cxx.version >= 'gcc-4.8':
cxx.cflags += ['-Wno-unused-result']

if cxx.version >= 'gcc-9.0':
cxx.cxxflags += ['-Wno-class-memaccess', '-Wno-packed-not-aligned']
if have_clang:
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
if cxx.version >= 'apple-clang-5.1' or cxx.version >= 'clang-3.4':

0 comments on commit 2164f51

Please sign in to comment.
You can’t perform that action at this time.