mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Apply patches to gyp.
This commit is contained in:
parent
319503af02
commit
7b42007f74
1 changed files with 2 additions and 1 deletions
3
Rakefile
3
Rakefile
|
@ -27,7 +27,8 @@ task :checkout do
|
|||
# Fix gyp trying to build platform-linux on FreeBSD 9 and FreeBSD 10.
|
||||
# Based on: https://chromiumcodereview.appspot.com/10079030/patch/1/2
|
||||
sh "patch -N -p0 -d vendor/v8 < patches/add-freebsd9-and-freebsd10-to-gyp-GetFlavor.patch"
|
||||
sh "patch -N -p1 -d vendor/v8 < patches/fPIC-on-linux-x64.patch"
|
||||
sh "patch -N -p1 -d vendor/v8 < patches/fPIC-on-x64.patch"
|
||||
sh "patch -N -p1 -d vendor/v8 < patches/gcc42-on-freebsd.patch" if RUBY_PLATFORM.include?("freebsd") && !system("pkg_info | grep gcc-4")
|
||||
end
|
||||
|
||||
desc "compile v8 via the ruby extension mechanism"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue