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

Add patch to allow build with clang 7.3 #207

Merged
merged 2 commits into from
Apr 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ notifications:
before_install:
- sudo apt-get update
- sudo apt-get install git-svn
- gem update bundler
1 change: 1 addition & 0 deletions ext/libv8/patcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def patch_directories_for(compiler)
patch_directories << 'clang33' if compiler.version >= '3.3'
patch_directories << 'clang51' if compiler.version >= '5.1'
patch_directories << 'clang70' if compiler.version >= '7.0'
patch_directories << 'clang73' if compiler.version >= '7.3'
end

patch_directories
Expand Down
10 changes: 10 additions & 0 deletions patches/clang73/no-shift-negative-value.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -215,6 +215,7 @@
'-Wno-unused-variable',
'-Wno-unused-local-typedefs',
'-Wno-tautological-undefined-compare',
+ '-Wno-shift-negative-value',
'-Wnon-virtual-dtor',
],
},