Hopefully fixed clang build on Linux.
This commit is contained in:
parent
7f8c6a9fd6
commit
40d03f78cf
@ -152,7 +152,7 @@ class SMConfig(object):
|
|||||||
cfg.cxxflags += ['-fvisibility-inlines-hidden']
|
cfg.cxxflags += ['-fvisibility-inlines-hidden']
|
||||||
if have_clang or (have_gcc and cxx.minorVersion >= 6):
|
if have_clang or (have_gcc and cxx.minorVersion >= 6):
|
||||||
cfg.cflags += ['-Wno-narrowing']
|
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.cxxflags += ['-Wno-delete-non-virtual-dtor']
|
||||||
|
|
||||||
cfg.linkflags += ['-m32']
|
cfg.linkflags += ['-m32']
|
||||||
|
Loading…
Reference in New Issue
Block a user