rubinius: use ENV.remove_cc_etc

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-05-08 00:29:44 -05:00
parent 1d74b0acf5
commit eb2cf03da0

View file

@ -12,7 +12,7 @@ class Rubinius < Formula
def install
# Let Rubinius define its own flags; messing with these causes build breaks.
%w{CC CXX LD CFLAGS CXXFLAGS CPPFLAGS LDFLAGS}.each { |e| ENV.delete(e) }
ENV.remove_cc_etc
# Unset RUBYLIB to configure Rubinius
ENV.delete("RUBYLIB")