From 40d03f78cff4d07842cda9b815f5ce089c5642a1 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 8 Jan 2014 17:37:55 -0600 Subject: [PATCH] Hopefully fixed clang build on Linux. --- AMBuildScript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index 8245bda06..e03449119 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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']