Recognize FreeBSD compiler as Clang.
ClosedPublic

Authored by arrowdodger on Aug 12 2017, 5:08 AM.

Details

Summary

On FreeBSD cc --version outputs a string which starts with "FreeBSD clang". The current code misses this case and fails to detect compiler kind.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
arrowdodger created this revision.Aug 12 2017, 5:08 AM
Harbormaster failed remote builds in B17085: Diff 13483!
bgamari accepted this revision.Aug 14 2017, 7:56 PM

Looks reasonable to me.

This revision is now accepted and ready to land.Aug 14 2017, 7:56 PM
This revision was automatically updated to reflect the committed changes.