Fix Mac build.

This commit is contained in:
Nicholas Hastings 2015-08-14 22:00:43 -04:00
parent 31cd5c7863
commit 199d1b8eeb

View File

@ -181,7 +181,7 @@ class SMConfig(object):
if have_clang or (have_gcc and cxx.version >= '4'):
cxx.cflags += ['-fvisibility=hidden']
cxx.cxxflags += ['-fvisibility-inlines-hidden']
if have_clang and cxx.version >= '3.6':
if have_clang and cxx.version >= 'clang-3.4':
cxx.cxxflags += ['-Wno-inconsistent-missing-override']
if have_clang or (have_gcc and cxx.version >= '4.6'):
cxx.cflags += ['-Wno-narrowing']