Permalink
Browse files

clisp: turn off optimization

Fixes some build issues on Lion.

Apparently it's enough to remove just the '-O' flags and preserve our
other optimization flags. This may only be needed on Lion, but frankly
clisp tends to have issues on all platforms so it's probably acceptable
to just disable it everywhere.

Closes #10450.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
1 parent e410f08 commit ee353780cf9bffddfb1da0c4d80fee41f9aaee43 @nesv nesv committed with jacknagel Feb 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Library/Formula/clisp.rb
View
1 Library/Formula/clisp.rb
@@ -20,6 +20,7 @@ def patches
def install
ENV.j1 # This build isn't parallel safe.
+ ENV.remove_from_cflags /-O./
# Clisp requires to select word size explicitly this way,
# set it in CFLAGS won't work.

0 comments on commit ee35378

Please sign in to comment.