aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-01-15 10:58:07 -0800
committerAdam Vandenberg2012-01-15 10:58:07 -0800
commit4b5eec6762d2ee72e39e1a03c1faba9910b6d92d (patch)
tree2b6ada2ca28ce1a636c371c15f2d023cbd9b134d /Library
parent2e99db7701f8ada96b557f1a1563153faa7c8f89 (diff)
downloadhomebrew-4b5eec6762d2ee72e39e1a03c1faba9910b6d92d.tar.bz2
rdiff-backup: fix compiles on 32-bit CPUs
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rdiff-backup.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/rdiff-backup.rb b/Library/Formula/rdiff-backup.rb
index c92d00053..daeeef889 100644
--- a/Library/Formula/rdiff-backup.rb
+++ b/Library/Formula/rdiff-backup.rb
@@ -12,6 +12,7 @@ class RdiffBackup < Formula
# We remove 'ppc' support, so we can pass Intel-optimized CFLAGS.
archs = archs_for_command("python")
archs.remove_ppc!
+ archs.delete! :x86_64 if Hardware.is_32_bit?
ENV['ARCHFLAGS'] = archs.as_arch_flags
system "python", "setup.py", "--librsync-dir=#{prefix}", "build"