Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit af738ac

Browse files
committed
add a patch for clang 7.0
1 parent 9188ace commit af738ac

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

ext/libv8/patcher.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def patch_directories_for(compiler)
1919
patch_directories << 'clang'
2020
patch_directories << 'clang33' if compiler.version >= '3.3'
2121
patch_directories << 'clang51' if compiler.version >= '5.1'
22+
patch_directories << 'clang70' if compiler.version >= '7.0'
2223
end
2324

2425
patch_directories
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/build/standalone.gypi b/build/standalone.gypi
2+
index 125c5bf..a283a28 100644
3+
--- a/build/standalone.gypi
4+
+++ b/build/standalone.gypi
5+
@@ -211,6 +212,8 @@
6+
'-W',
7+
'-Wno-unused-parameter',
8+
'-Wno-unused-variable',
9+
+ '-Wno-unused-local-typedefs',
10+
+ '-Wno-tautological-undefined-compare',
11+
'-Wnon-virtual-dtor',
12+
],
13+
},

0 commit comments

Comments
 (0)