aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/berkeley-db.rb
diff options
context:
space:
mode:
authorMax Howell2009-12-21 17:33:59 +0000
committerMax Howell2009-12-21 17:33:59 +0000
commit1232db7a9f3f179d8a3097c75b0afef8531335f2 (patch)
treec4eb0ddb7006bb9fab013eb94d61943e9d960585 /Library/Formula/berkeley-db.rb
parent92505e57ea93a530c7cdeeb3dfbf5e1d6b45030a (diff)
downloadhomebrew-1232db7a9f3f179d8a3097c75b0afef8531335f2.tar.bz2
Berkeley takes far too long with -O4
Fixes #230. Also add the common 'db' alias.
Diffstat (limited to 'Library/Formula/berkeley-db.rb')
-rw-r--r--Library/Formula/berkeley-db.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/berkeley-db.rb b/Library/Formula/berkeley-db.rb
index 36e7aba95..c8a022039 100644
--- a/Library/Formula/berkeley-db.rb
+++ b/Library/Formula/berkeley-db.rb
@@ -5,9 +5,12 @@ class BerkeleyDb <Formula
@homepage='http://www.oracle.com/technology/products/berkeley-db/index.html'
@md5='147afdecf438ff99ade105a5272db158'
+ aka 'db'
+
def install
# BerkeleyDB dislikes parallel builds
ENV.deparallelize
+ ENV.O3 # takes an hour or more with link time optimisation
# BerkeleyDB requires you to build everything from the build_unix subdirectory
Dir.chdir 'build_unix' do