aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ghostscript.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-25 21:00:28 -0800
committerAdam Vandenberg2012-02-25 21:00:28 -0800
commit200c36200da7679b9bd1384dbb5ad32266d16b91 (patch)
treedeeb472147fb6ee3c0a0f59e49f8855ef927ca72 /Library/Formula/ghostscript.rb
parent0568780cd067cb62ab114884e9eebdb80c1df896 (diff)
downloadhomebrew-200c36200da7679b9bd1384dbb5ad32266d16b91.tar.bz2
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.
Diffstat (limited to 'Library/Formula/ghostscript.rb')
-rw-r--r--Library/Formula/ghostscript.rb4
1 files changed, 1 insertions, 3 deletions
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" : "."