diff --git a/ext/libv8/builder.rb b/ext/libv8/builder.rb index 26a5789..84b3940 100644 --- a/ext/libv8/builder.rb +++ b/ext/libv8/builder.rb @@ -33,6 +33,10 @@ module Libv8 # Pass clang=1 to GYP as noted in wiki # https://code.google.com/p/v8/wiki/BuildingWithGYP#Clang_+_make flags << 'GYP_DEFINES="clang=1"' if @compiler.is_a? Compiler::Clang + + # Disable i18n + flags << 'i18nsupport=off' + # Solaris / Smart OS requires additional -G flag to use with -fPIC flags << "CFLAGS=-G" if @compiler.target =~ /solaris/