diff options
Diffstat (limited to 'skip/ghc/0004-Fix-autoconf-after-6d6edb1bbb.patch')
-rw-r--r-- | skip/ghc/0004-Fix-autoconf-after-6d6edb1bbb.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/skip/ghc/0004-Fix-autoconf-after-6d6edb1bbb.patch b/skip/ghc/0004-Fix-autoconf-after-6d6edb1bbb.patch new file mode 100644 index 0000000..8f20645 --- /dev/null +++ b/skip/ghc/0004-Fix-autoconf-after-6d6edb1bbb.patch @@ -0,0 +1,33 @@ +From 2b3d2665e6aa3de86a4d4e1979c34453542b7b07 Mon Sep 17 00:00:00 2001 +From: Haochen Tong <i@hexchain.org> +Date: Sun, 5 Sep 2021 16:22:31 +0800 +Subject: [PATCH 4/9] Fix autoconf after 6d6edb1bbb + +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index c6a1c96d02..cf93f10938 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -735,14 +735,14 @@ AC_SUBST([ClangCmd]) + dnl ** Which LLVM llc to use? + dnl -------------------------------------------------------------- + AC_ARG_VAR(LLC,[Use as the path to LLVM's llc [default=autodetect]]) +-FIND_LLVM_PROG([LLC], [llc], [$LlvmVersion]) ++FIND_LLVM_PROG([LLC], [llc], [$LlvmMinVersion], [$LlvmMaxVersion]) + LlcCmd="$LLC" + AC_SUBST([LlcCmd]) + + dnl ** Which LLVM opt to use? + dnl -------------------------------------------------------------- + AC_ARG_VAR(OPT,[Use as the path to LLVM's opt [default=autodetect]]) +-FIND_LLVM_PROG([OPT], [opt], [$LlvmVersion]) ++FIND_LLVM_PROG([OPT], [opt], [$LlvmMinVersion], [$LlvmMaxVersion]) + OptCmd="$OPT" + AC_SUBST([OptCmd]) + +-- +2.33.0 + |