aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorNick Saika2012-02-24 10:42:11 -0500
committerJack Nagel2012-02-24 19:35:04 -0600
commitee353780cf9bffddfb1da0c4d80fee41f9aaee43 (patch)
tree98f9105608ac96147e75cd81301ab44b02ee78ef /Library
parente410f083fffe6a134b48286d9b27716fd02d837a (diff)
downloadhomebrew-ee353780cf9bffddfb1da0c4d80fee41f9aaee43.tar.bz2
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/clisp.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/clisp.rb b/Library/Formula/clisp.rb
index 83e1e4026..df2fed2ef 100644
--- a/Library/Formula/clisp.rb
+++ b/Library/Formula/clisp.rb
@@ -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.