diff options
| author | Aleksandar Topuzović | 2010-02-13 23:38:50 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-02-13 17:21:42 -0800 |
| commit | 2e3585872b0e5856cce6c53b178744bc10a91c0b (patch) | |
| tree | 1ff1c3cc2a89047ac37799ee5687f45aed6b8531 | |
| parent | 9a1af42a5eeaf3abcc16c0e56dd8cf370fb3035b (diff) | |
| download | brew-2e3585872b0e5856cce6c53b178744bc10a91c0b.tar.bz2 | |
Set correct LDFLAGS for universal binaries
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Homebrew/extend/ENV.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index 01e90394a..81714fa15 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -205,6 +205,7 @@ module HomebrewEnvExtension def universal_binary append_to_cflags '-arch i386 -arch x86_64' ENV.O3 if self['CFLAGS'].include? '-O4' # O4 seems to cause the build to fail + ENV.append 'LDFLAGS', '-arch i386 -arch x86_64' end def prepend key, value, separator = ' ' |
