From af59bb9c79319b0c2e87e94c0ed9c6079cd09ec0 Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Wed, 23 Nov 2011 09:21:30 -0800 Subject: SDL: Disable assembly when compiling with Clang Should have been rolled into the last commit. Troll needs coffee badly. --- Library/Formula/sdl.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb index 151f58d1f..175f66bc1 100644 --- a/Library/Formula/sdl.rb +++ b/Library/Formula/sdl.rb @@ -13,8 +13,6 @@ class Sdl < Formula inreplace files, '@prefix@', HOMEBREW_PREFIX end - fails_with_llvm :build => 2335 # 2335.15.0 to be exact - def install Sdl.use_homebrew_prefix %w[sdl.pc.in sdl-config.in] @@ -23,8 +21,8 @@ class Sdl < Formula system "./autogen.sh" if ARGV.build_head? args = %W[--prefix=#{prefix} --disable-nasm] - # On Lion, LLVM-GCC chokes on the assembly code packaged with SDL. - args << '--disable-assembly' if ENV.compiler == :llvm and MacOS.lion? + # LLVM-based compilers choke on the assembly code packaged with SDL. + args << '--disable-assembly' if ENV.compiler == :llvm or ENV.compiler == :clang system './configure', *args system "make install" -- cgit v1.2.3