Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixes #14571; clisp superenv issue

  • Loading branch information...
commit 7645f5be72b24af112638245dfb5ee49316e6514 1 parent 77a8c24
Max Howell mxcl authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. +1 4 Library/Formula/clisp.rb
5 Library/Formula/clisp.rb
@@ -36,10 +36,7 @@ def install
36 36 # Multiple -O options will be in the generated Makefile,
37 37 # make Homebrew's the last such option so it's effective.
38 38 inreplace "Makefile" do |s|
39   - cf = s.get_make_var("CFLAGS")
40   - cf.gsub! ENV['CFLAGS'], ''
41   - cf += ' '+ENV['CFLAGS']
42   - s.change_make_var! 'CFLAGS', cf
  39 + s.change_make_var! 'CFLAGS', "#{s.get_make_var('CFLAGS')} #{ENV['CFLAGS']}"
43 40 end
44 41
45 42 # 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.