summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-02-09 17:34:36 -0500
committerBen Gamari <ben@smart-cactus.org>2019-02-09 18:23:53 -0500
commit980f0dab61b3150403aed21692ffcdfceece97a2 (patch)
tree3ebd5feef24effdd049c5af36e6d6f2d09f6a61a /distrib
parent249b0babb08409311a56da0ef890445676927fb7 (diff)
downloadhaskell-wip/llvm-configure-opts.tar.gz
configure: Document CLANG, LLC, and OPT variableswip/llvm-configure-opts
Diffstat (limited to 'distrib')
-rw-r--r--distrib/configure.ac.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index e064a5d81c..dd0eb2edae 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -128,12 +128,14 @@ LlvmVersion=@LlvmVersion@
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])
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])
OptCmd="$OPT"
AC_SUBST([OptCmd])