diff options
| author | Jack Nagel | 2013-11-12 12:00:18 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-12 13:53:29 -0600 |
| commit | 6cb042247534e22de6d4a7a3b1ed14a00b855c38 (patch) | |
| tree | 898f820eeadfd033d3e8249ba733d237dacd75f2 /Library | |
| parent | a2f11cec697aa337d4b7678df60e9f1dd5bbc926 (diff) | |
| download | homebrew-6cb042247534e22de6d4a7a3b1ed14a00b855c38.tar.bz2 | |
clisp: enable superenv
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/clisp.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/clisp.rb b/Library/Formula/clisp.rb index c8a9b6b32..c38e77217 100644 --- a/Library/Formula/clisp.rb +++ b/Library/Formula/clisp.rb @@ -9,10 +9,6 @@ class Clisp < Formula depends_on 'libsigsegv' depends_on 'readline' - # -Os causes the build to fail with C_CODE_ALIGNMENT is wrong - # superenv doeesn't yet support changing the optimization level - env :std - fails_with :llvm do build 2334 cause "Configure fails on XCode 4/Snow Leopard." @@ -25,7 +21,7 @@ class Clisp < Formula def install ENV.j1 # This build isn't parallel safe. - ENV.remove_from_cflags /-O./ + ENV.O0 # Any optimization breaks the build # Clisp requires to select word size explicitly this way, # set it in CFLAGS won't work. @@ -39,7 +35,7 @@ class Clisp < Formula # make Homebrew's the last such option so it's effective. inreplace "Makefile" do |s| s.change_make_var! 'CFLAGS', "#{s.get_make_var('CFLAGS')} #{ENV['CFLAGS']}" - end + end unless superenv? # The ulimit must be set, otherwise `make` will fail and tell you to do so system "ulimit -s 16384 && make" |
