Hopefully fixed clang build on Linux.

This commit is contained in:
Scott Ehlert 2014-01-08 17:37:55 -06:00
parent 7f8c6a9fd6
commit 40d03f78cf

View File

@ -152,7 +152,7 @@ class SMConfig(object):
cfg.cxxflags += ['-fvisibility-inlines-hidden']
if have_clang or (have_gcc and cxx.minorVersion >= 6):
cfg.cflags += ['-Wno-narrowing']
if (have_gcc and cxx.minorVersion >= 7) or (have_clang and cxx.majorVersion >= 4):
if (have_gcc and cxx.minorVersion >= 7) or (have_clang and cxx.majorVersion >= 3):
cfg.cxxflags += ['-Wno-delete-non-virtual-dtor']
cfg.linkflags += ['-m32']