Permalink
Browse files

Fixes #14571; clisp superenv issue

  • Loading branch information...
mxcl committed Aug 30, 2012
1 parent 3ab4fbc commit 91a7839191de7c57d07ed0d22e8a57dda133a890
Showing with 1 addition and 4 deletions.
  1. +1 −4 clisp.rb
View
@@ -36,10 +36,7 @@ def install
# Multiple -O options will be in the generated Makefile,
# make Homebrew's the last such option so it's effective.
inreplace "Makefile" do |s|
- cf = s.get_make_var("CFLAGS")
- cf.gsub! ENV['CFLAGS'], ''
- cf += ' '+ENV['CFLAGS']
- s.change_make_var! 'CFLAGS', cf
+ s.change_make_var! 'CFLAGS', "#{s.get_make_var('CFLAGS')} #{ENV['CFLAGS']}"
end
# The ulimit must be set, otherwise `make` will fail and tell you to do so

0 comments on commit 91a7839

Please sign in to comment.