aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bdw-gc.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-16 11:50:36 -0700
committerAdam Vandenberg2010-06-16 11:50:36 -0700
commitc5d56bc501664b5a159b60e86672fcdda5c19d27 (patch)
treed42467e075ff5038184e8763ed23a80c3fccb40b /Library/Formula/bdw-gc.rb
parent8ecc795b361cc4a2c3d342062e86f7559ac08c0c (diff)
downloadhomebrew-c5d56bc501664b5a159b60e86672fcdda5c19d27.tar.bz2
Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm", to specifically message to the user when a formula is known or suspected to not build with LLVM. If the user specifies "--use-llvm", the message will be displayed, but compilation will be tried anyway. Since using LLVM is now an advanced/hidden feature instead of the default on 10.6, we'll let the user try anyway (and submit patches if things are now working.)
Diffstat (limited to 'Library/Formula/bdw-gc.rb')
-rw-r--r--Library/Formula/bdw-gc.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/bdw-gc.rb b/Library/Formula/bdw-gc.rb
index cbb8a11f1..95323082c 100644
--- a/Library/Formula/bdw-gc.rb
+++ b/Library/Formula/bdw-gc.rb
@@ -6,10 +6,9 @@ class BdwGc <Formula
md5 '2ff9924c7249ef7f736ecfe6f08f3f9b'
def install
+ fails_with_llvm "LLVM gives an unsupported inline asm error"
+
if MACOS_VERSION == 10.6
- # LLVM gives an unsupported inline asm error
- ENV.gcc_4_2
-
# ucontext has been deprecated in 10.6
# use this flag to force the header to compile
ENV.append 'CPPFLAGS', "-D_XOPEN_SOURCE"