Przeglądaj źródła

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

Caleb James DeLisle 8 miesięcy temu
rodzic
commit
7b8fdb7fc9
1 zmienionych plików z 2 dodań i 1 usunięć
  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(