aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pcre.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/pcre.rb b/Library/Formula/pcre.rb
index 501c84e25..d37af61dd 100644
--- a/Library/Formula/pcre.rb
+++ b/Library/Formula/pcre.rb
@@ -5,8 +5,13 @@ class Pcre <Formula
homepage 'http://www.pcre.org/'
md5 '780867a700e9d4e4b9cb47aa5453e4b2'
+ def options
+ [["--universal", "Build a universal binary."]]
+ end
+
def install
fails_with_llvm "Bus error in ld on SL 10.6.4"
+ ENV.universal_binary if ARGV.include? "--universal"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",