[Git][ghc/ghc][wip/bump-images-9.6] Fix bindist file
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Tue Jan 30 10:39:34 UTC 2024
Matthew Pickering pushed to branch wip/bump-images-9.6 at Glasgow Haskell Compiler / GHC
Commits:
e571f2e8 by Matthew Pickering at 2024-01-30T10:39:21+00:00
Fix bindist file
- - - - -
2 changed files:
- configure.ac
- distrib/configure.ac.in
Changes:
=====================================
configure.ac
=====================================
@@ -1049,7 +1049,8 @@ echo "\
Using LLVM tools
llc : $LlcCmd
- opt : $OptCmd"
+ opt : $OptCmd
+ llvm-as : $LlvmAsCmd"
if test "$HSCOLOUR" = ""; then
echo "
=====================================
distrib/configure.ac.in
=====================================
@@ -163,6 +163,13 @@ FIND_LLVM_PROG([OPT], [opt], [$LlvmMinVersion], [$LlvmMaxVersion])
OptCmd="$OPT"
AC_SUBST([OptCmd])
+dnl ** Which LLVM assembler to use?
+dnl --------------------------------------------------------------
+AC_ARG_VAR(LLVMAS,[Use as the path to LLVM's llvm-as [default=autodetect]])
+FIND_LLVM_PROG([LLVMAS], [clang], [$LlvmMinVersion], [$LlvmMaxVersion])
+LlvmAsCmd="$LLVMAS"
+AC_SUBST([LlvmAsCmd])
+
dnl ** Check gcc version and flags we need to pass it **
FP_GCC_VERSION
FP_GCC_SUPPORTS_NO_PIE
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e571f2e8cd0cc442f7db70fe65464d29714fce1f
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e571f2e8cd0cc442f7db70fe65464d29714fce1f
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240130/aa67ab7b/attachment-0001.html>
More information about the ghc-commits
mailing list