patch-compiler_main_SysTools_hs 584 B

1234567891011121314
  1. $OpenBSD: patch-compiler_main_SysTools_hs,v 1.1 2017/04/17 17:21:49 espie Exp $
  2. --- compiler/main/SysTools.hs.orig Mon Apr 17 00:59:34 2017
  3. +++ compiler/main/SysTools.hs Mon Apr 17 01:00:26 2017
  4. @@ -890,6 +890,9 @@ getCompilerInfo' dflags = do
  5. -- Regular clang
  6. | any ("clang version" `isPrefixOf`) stde =
  7. return Clang
  8. + -- stupid thingy !!!!
  9. + | any ("OpenBSD clang version" `isPrefixOf`) stde =
  10. + return Clang
  11. -- XCode 5.1 clang
  12. | any ("Apple LLVM version 5.1" `isPrefixOf`) stde =
  13. return AppleClang51