diff options
author | Roland Zumkeller <Roland.Zumkeller@gmail.com> | 2019-06-23 19:15:16 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-27 10:43:47 -0400 |
commit | 52f102166c9677fbc58ac86203eab388913fbdf0 (patch) | |
tree | 979b6d19f8948cff8412c8c2f14041cd00f0ced0 | |
parent | c1f67887e3d85e6bfd09744fbea976e1f3e16c02 (diff) | |
download | haskell-52f102166c9677fbc58ac86203eab388913fbdf0.tar.gz |
configure: prefer cc over gcc
Fixes #16857.
-rw-r--r-- | configure.ac | 2 |
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]) |