aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/clisp.rb
diff options
context:
space:
mode:
authorMax Howell2012-08-30 19:34:38 -0400
committerMax Howell2012-08-30 20:02:28 -0400
commitb41ba217b112b6962efa21edef80ce3ccab6d79c (patch)
treec53219fc406f9317a0e20bcf5cfdd34c8399d6d2 /Library/Formula/clisp.rb
parent9e5e43ba6e0bd4641d03fa6e92071e4e695cc7fa (diff)
downloadhomebrew-b41ba217b112b6962efa21edef80ce3ccab6d79c.tar.bz2
Fixes #14571; clisp superenv issue
Diffstat (limited to 'Library/Formula/clisp.rb')
-rw-r--r--Library/Formula/clisp.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/clisp.rb b/Library/Formula/clisp.rb
index 13dafe69b..b106fb2a3 100644
--- a/Library/Formula/clisp.rb
+++ b/Library/Formula/clisp.rb
@@ -36,10 +36,7 @@ class Clisp < Formula
# 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