aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/log4cxx.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/log4cxx.rb b/Library/Formula/log4cxx.rb
index 41a0e1299..ce2c48178 100644
--- a/Library/Formula/log4cxx.rb
+++ b/Library/Formula/log4cxx.rb
@@ -7,7 +7,15 @@ class Log4cxx < Formula
fails_with_llvm "Fails with \"collect2: ld terminated with signal 11 [Segmentation fault]\"."
+ def options
+ [
+ ["--universal", "Build for both 32 & 64 bit Intel."]
+ ]
+ end
+
def install
+ ENV.universal_binary if ARGV.build_universal?
+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
# Docs won't install on OS X