aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-11 21:01:59 -0500
committerJack Nagel2014-09-11 21:01:59 -0500
commit87c4a883a8e8a924652bba874eedab72a63f6190 (patch)
treebc4ec2264e64e6191c3ad1c72529747abc5dd424 /Library
parentbd414253bf03d17574074d6474d6e6e7edca7d7d (diff)
downloadhomebrew-87c4a883a8e8a924652bba874eedab72a63f6190.tar.bz2
ossp-uuid: remove hardcoded arch value
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ossp-uuid.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/ossp-uuid.rb b/Library/Formula/ossp-uuid.rb
index 665c92359..e52d8972e 100644
--- a/Library/Formula/ossp-uuid.rb
+++ b/Library/Formula/ossp-uuid.rb
@@ -24,8 +24,7 @@ class OsspUuid < Formula
if build.universal?
ENV.universal_binary
elsif build.build_32_bit?
- ENV.append 'CFLAGS', '-arch i386'
- ENV.append 'LDFLAGS', '-arch i386'
+ ENV.append %w[CFLAGS LDFLAGS], "-arch #{Hardware::CPU.arch_32_bit}"
end
system "./configure", "--disable-debug",