From 4192cb6704913b8232410fe0fc1dc7dcb2db0f50 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Sun, 5 Jul 2015 19:21:05 +0300 Subject: [PATCH] Raise the minimum supported version of GCC to 4.8 See https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP#GCC_+_make for more info --- ext/libv8/compiler/gcc.rb | 2 +- spec/compiler/gcc_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/libv8/compiler/gcc.rb b/ext/libv8/compiler/gcc.rb index f40cc84..f781483 100644 --- a/ext/libv8/compiler/gcc.rb +++ b/ext/libv8/compiler/gcc.rb @@ -8,7 +8,7 @@ module Libv8 end def compatible? - version > '4.3' unless version.nil? + version > '4.7' unless version.nil? end private diff --git a/spec/compiler/gcc_spec.rb b/spec/compiler/gcc_spec.rb index 50eab01..8196564 100644 --- a/spec/compiler/gcc_spec.rb +++ b/spec/compiler/gcc_spec.rb @@ -19,7 +19,7 @@ module Libv8::Compiler end describe '#compatible?' do - context 'when GCC\'s version is >= 4.3' do + context 'when GCC\'s version is >= 4.8' do it 'returns true' do stub_as_available 'c++', :gcc, '4.9.0' expect(subject).to be_compatible