Skip to content
Browse files

Fixes #14571; clisp superenv issue

  • Loading branch information...
1 parent 77a8c24 commit 7645f5be72b24af112638245dfb5ee49316e6514 @mxcl mxcl committed Aug 30, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 Library/Formula/clisp.rb
View
5 Library/Formula/clisp.rb
@@ -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 7645f5b

Please sign in to comment.
Something went wrong with that request. Please try again.