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 Homebrew/homebrew#10450.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Nick Saika 2012-02-24 10:42:11 -05:00 committed by Jack Nagel
parent 455553c8d7
commit f3de375947

View file

@ -20,6 +20,7 @@ class Clisp < Formula
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.