Skip to content
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 <>
  • Loading branch information...
1 parent c6dd092 commit 79b228fa7fb8d4a79a745d72322e01565a249026 @nesv nesv committed with jacknagel Feb 24, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Library/Formula/clisp.rb
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 79b228f

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