diff options
| author | arlolra | 2011-03-06 16:27:21 -0800 | 
|---|---|---|
| committer | Adam Vandenberg | 2011-03-06 17:32:37 -0800 | 
| commit | 32f77ef446ecaa4e6e50e712358485af9c961efd (patch) | |
| tree | ce86a4a9c52543b7ed6f51c57628acc4670ad698 /Library/Formula/redis.rb | |
| parent | 60e0d73be7c0dc69bb2140952b3f79243c82eda1 (diff) | |
| download | homebrew-32f77ef446ecaa4e6e50e712358485af9c961efd.tar.bz2 | |
Specify architecture for redis
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/redis.rb')
| -rw-r--r-- | Library/Formula/redis.rb | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/redis.rb b/Library/Formula/redis.rb index bebd1f930..c33edb707 100644 --- a/Library/Formula/redis.rb +++ b/Library/Formula/redis.rb @@ -10,6 +10,8 @@ class Redis <Formula    def install      fails_with_llvm "Breaks with LLVM" +    ENV["OBJARCH"] = snow_leopard_64? ? "-arch x86_64" : "-arch i386" +      # Head and stable have different code layouts      src = File.exists?('src/Makefile') ? 'src' : '.'      system "make -C #{src}"  | 
