694ee07
--- ghc-8.8.0.20190721/configure.ac~	2019-07-22 07:19:41.000000000 +0000
694ee07
+++ ghc-8.8.0.20190721/configure.ac	2019-07-24 08:13:27.347297256 +0000
694ee07
@@ -641,9 +641,9 @@
694ee07
 # tools we are looking for. In the past, GHC supported a number of
694ee07
 # versions of LLVM simultaneously, but that stopped working around
694ee07
 # 3.5/3.6 release of LLVM.
694ee07
-LlvmVersion=7
694ee07
+LlvmVersion=7.0
694ee07
 AC_SUBST([LlvmVersion])
694ee07
-sUPPORTED_LLVM_VERSION=$(echo \($LlvmVersion\) | sed 's/\./,/')
694ee07
+sUPPORTED_LLVM_VERSION=$(echo $LlvmVersion | sed 's/\./ /')
694ee07
 AC_DEFINE_UNQUOTED([sUPPORTED_LLVM_VERSION], ${sUPPORTED_LLVM_VERSION}, [The supported LLVM version number])
694ee07
 
694ee07
 dnl ** Which LLVM clang to use?
694ee07
--- ghc-8.8.0.20190721/compiler/llvmGen/LlvmCodeGen/Base.hs~	2019-07-22 07:19:41.000000000 +0000
694ee07
+++ ghc-8.8.0.20190721/compiler/llvmGen/LlvmCodeGen/Base.hs	2019-07-24 14:37:28.543866692 +0000
694ee07
@@ -188,7 +188,7 @@
694ee07
 
694ee07
 -- | The LLVM Version that is currently supported.
694ee07
 supportedLlvmVersion :: LlvmVersion
694ee07
-supportedLlvmVersion = LlvmVersion sUPPORTED_LLVM_VERSION
694ee07
+supportedLlvmVersion = LlvmVersionOld sUPPORTED_LLVM_VERSION
694ee07
 
694ee07
 llvmVersionStr :: LlvmVersion -> String
694ee07
 llvmVersionStr v =