Browse Source

Add no-gnu-line-marker for support for newer clang which normally warns about line numbers

Caleb James DeLisle 10 months ago
parent
commit
7b8fdb7fc9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      node_build/make.js

+ 2 - 1
node_build/make.js

@@ -141,9 +141,10 @@ Builder.configure({
 
             // lots of places where depending on preprocessor conditions, a statement might be
             // a case of if (1 == 1)
-            '-Wno-tautological-compare'
+            '-Wno-tautological-compare',
 
             //'-Wno-error'
+            '-Wno-gnu-line-marker'
         );
     } else {
         builder.config.cflags.push(