summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-07-13 15:03:00 +0000
committersimonmar <unknown>2001-07-13 15:03:00 +0000
commit30b24ded6ed997a892bb62cbf1479ef047fbac01 (patch)
tree3759dee2467f3a7831d199708bf1a188af668e7b
parent63893c7aa6204c524e648e402cb904646ad174bf (diff)
downloadhaskell-30b24ded6ed997a892bb62cbf1479ef047fbac01.tar.gz
[project @ 2001-07-13 15:03:00 by simonmar]
add warning about not changing WhatGccIsCalled from build.mk.
-rw-r--r--mk/config.mk.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index f69ef61d35..1f5576f69b 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -606,7 +606,10 @@ GHC_INPLACE = $(FPTOOLS_TOP)/ghc/compiler/ghc-inplace
#-----------------------------------------------------------------------------
# C compiler
#
-#
+# NB. Don't override $(WhatGccIsCalled) using build.mk, re-configure using
+# the flag --with-gcc=<blah> instead. The reason is that the configure script
+# needs to know which gcc you're using in order to perform its tests.
+
HaveGcc = @HaveGcc@
UseGcc = YES
WhatGccIsCalled = @WhatGccIsCalled@