OSDN Git Service

Removed extra '-Wall' flag
authorAlexis Hetu <sugoi@google.com>
Wed, 2 Aug 2017 17:25:10 +0000 (13:25 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 2 Aug 2017 17:41:55 +0000 (17:41 +0000)
The '-Wall' flag is already specified in Chromium and this '-Wall'
flag invalidates any previous '-Wno-*' flags. Removing it solves
the compilation issue.

Change-Id: Iceefb63ff7e04c55884cf26bbde0d62ffb74b217
Reviewed-on: https://swiftshader-review.googlesource.com/11208
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
BUILD.gn

index bec953d..7530b91 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -36,7 +36,6 @@ config("swiftshader_config") {
   } else {
     cflags = [
       "-std=c++11",
-      "-Wall",
       "-fno-exceptions",
       "-fno-operator-names",
       "-ffunction-sections",