diff options
| author | Charlie Sharpsteen | 2011-09-14 03:50:55 -0700 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-14 03:50:55 -0700 |
| commit | a403f9b9ea460a0fb723cd7463e8623412fff901 (patch) | |
| tree | 4edfcfdb59ce807e86190df7d401fe531d8747ab | |
| parent | 85ead600dc88d7cd0cc19d2c0b528c13bdbcdcce (diff) | |
| download | homebrew-a403f9b9ea460a0fb723cd7463e8623412fff901.tar.bz2 | |
fuse4x-kext: Explicitly list architectures
Build `i386` for Leopard and a fat binary for everything else. Failing to be
explicit can cause `xcodebuild` to attempt building for more architectures than
it really should.
Fixes #7619.
| -rw-r--r-- | Library/Formula/fuse4x-kext.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/fuse4x-kext.rb b/Library/Formula/fuse4x-kext.rb index b391e756b..c67c8a09c 100644 --- a/Library/Formula/fuse4x-kext.rb +++ b/Library/Formula/fuse4x-kext.rb @@ -19,10 +19,11 @@ class Fuse4xKext < Formula "-configuration", "Release", "-alltargets", "MACOSX_DEPLOYMENT_TARGET=#{MACOS_VERSION}", - "SYMROOT=build" + "SYMROOT=build", + # Build a 32-bit kernel extension on Leopard and a fat binary for Snow + # Leopard/Lion. + "ARCHS=i386 #{'x86_64' unless MacOS.leopard?}", 'ONLY_ACTIVE_ARCH=NO' ] - # Don't build a multi-arch kext for Leopard---it will fail. - args.concat %w[ARCHS=i386 ONLY_ACTIVE_ARCH=NO] if MacOS.leopard? system "/usr/bin/xcodebuild", *args system "/bin/mkdir -p build/Release/fuse4x.kext/Support" |
