소스 검색

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

Caleb James DeLisle 8 달 전
부모
커밋
7b8fdb7fc9
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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(