summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRoland Zumkeller <Roland.Zumkeller@gmail.com>2019-06-23 19:15:16 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-27 10:43:47 -0400
commit52f102166c9677fbc58ac86203eab388913fbdf0 (patch)
tree979b6d19f8948cff8412c8c2f14041cd00f0ced0 /configure.ac
parentc1f67887e3d85e6bfd09744fbea976e1f3e16c02 (diff)
downloadhaskell-52f102166c9677fbc58ac86203eab388913fbdf0.tar.gz
configure: prefer cc over gcc
Fixes #16857.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 751b059f2b..aa48872b4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -507,7 +507,7 @@ AC_ARG_WITH([clang],
dnl detect compiler (prefer gcc over clang) and set $CC (unless CC already set),
dnl later CC is copied to CC_STAGE{1,2,3}
-AC_PROG_CC([gcc clang])
+AC_PROG_CC([cc gcc clang])
MAYBE_OVERRIDE_STAGE0([ar],[AR_STAGE0])