932e6dc413
This removes build dependency on gcc and runtime dependency on gcc's runtime libraries. Big thanks to Gleb for working on this. PR: 225185 Submitted by: Gleb Popov <6yearold@gmail.com> Exp-run by: antoine Reviewed by: pgj Differential Revision: https://reviews.freebsd.org/D12043
12 lines
471 B
Haskell
12 lines
471 B
Haskell
--- compiler/main/SysTools.hs.orig 2017-08-12 09:25:57 UTC
|
|
+++ compiler/main/SysTools.hs
|
|
@@ -907,6 +907,9 @@ getCompilerInfo' dflags = do
|
|
-- Regular clang
|
|
| any ("clang version" `isInfixOf`) stde =
|
|
return Clang
|
|
+ -- FreeBSD clang
|
|
+ | any ("FreeBSD clang version" `isInfixOf`) stde =
|
|
+ return Clang
|
|
-- XCode 5.1 clang
|
|
| any ("Apple LLVM version 5.1" `isPrefixOf`) stde =
|
|
return AppleClang51
|