From dab2932550b84eee17bb2268eea771a025f901e1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 22 Aug 2013 18:03:00 -0700 Subject: [PATCH] Fix Linux build. --- AMBuildScript | 1 - 1 file changed, 1 deletion(-) diff --git a/AMBuildScript b/AMBuildScript index 25b09d9f..445befbf 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -163,7 +163,6 @@ class SM: self.compiler.AddToListVar('CXXFLAGS', '-fno-threadsafe-statics') self.compiler.AddToListVar('CXXFLAGS', '-Wno-non-virtual-dtor') self.compiler.AddToListVar('CXXFLAGS', '-Wno-overloaded-virtual') - self.compiler.AddToListVar('CXXFLAGS', '-Wno-narrowing') if (self.vendor == 'gcc' and cxx.majorVersion >= 4 and cxx.minorVersion >= 7) or \ (self.vendor == 'clang' and cxx.majorVersion >= 3): self.compiler.AddToListVar('CXXFLAGS', '-Wno-delete-non-virtual-dtor')