From 200c36200da7679b9bd1384dbb5ad32266d16b91 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 25 Feb 2012 21:00:28 -0800 Subject: Don't override default -O flag. Way back in the day, Homebrew defaulted to LLVM/-O3. A lot of stuff failed to compile, and a lot of stuff just took forever with -O4. We don't default this way anymore, and in fact use -Os per Apple guidelines. So remove these old "fixes" since they are no longer needed. --- Library/Formula/ghostscript.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library/Formula/ghostscript.rb') diff --git a/Library/Formula/ghostscript.rb b/Library/Formula/ghostscript.rb index 0dcd011d8..efd1c6c7b 100644 --- a/Library/Formula/ghostscript.rb +++ b/Library/Formula/ghostscript.rb @@ -31,10 +31,8 @@ class Ghostscript < Formula def install ENV.libpng ENV.deparallelize - # O4 takes an ungodly amount of time - ENV.O3 # ghostscript configure ignores LDFLAGs apparently - ENV['LIBS']="-L/usr/X11/lib" + ENV['LIBS'] = "-L/usr/X11/lib" src_dir = ARGV.build_head? ? "gs" : "." -- cgit v1.2.3