OSDN Git Service

Removed redundant flag
authorAlexis Hetu <sugoi@google.com>
Fri, 22 Mar 2019 14:45:28 +0000 (10:45 -0400)
committerAlexis Hétu <sugoi@google.com>
Fri, 22 Mar 2019 15:20:54 +0000 (15:20 +0000)
"-Wno-error=header-hygiene" was redundant with "-Wno-header-hygiene".
Removed it.

Change-Id: I5b75e8d42ef78c230cf064372f99db7950caf262
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27868
Tested-by: Alexis Hétu <sugoi@google.com>
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
third_party/llvm-7.0/BUILD.gn

index 0f1b937..8e8a99d 100644 (file)
@@ -55,9 +55,7 @@ config("swiftshader_llvm_private_config") {
   }
 
   if (is_clang) {
-    cflags += [ "-Wno-header-hygiene",
-                "-Wno-error=header-hygiene"
-    ]
+    cflags += [ "-Wno-header-hygiene" ]
     if (target_cpu == "x86" || target_cpu == "x64") {
       cflags += [ "-msse2" ]
     }