diff options
author | Gleb Popov <6yearold@gmail.com> | 2017-08-14 20:56:44 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-08-14 21:32:17 -0400 |
commit | 21bd9b2f3f48af453348f40a740ee8f4c26fdace (patch) | |
tree | 47569ae13b7c3dc39276b37e013e4f79d1bf9b4e | |
parent | ed7a830de6a2ea74dd6bb81f8ec55b9fe0b52f28 (diff) | |
download | haskell-21bd9b2f3f48af453348f40a740ee8f4c26fdace.tar.gz |
Recognize FreeBSD compiler as Clang.
Reviewers: austin, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3840
-rw-r--r-- | compiler/main/SysTools.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/main/SysTools.hs b/compiler/main/SysTools.hs index c73e47c16a..faf6f11736 100644 --- a/compiler/main/SysTools.hs +++ b/compiler/main/SysTools.hs @@ -868,6 +868,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 |