summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-04-22 22:57:24 +0100
committerIan Lynagh <igloo@earth.li>2011-04-22 22:57:24 +0100
commitf2935c8466a1d88354b1be4a7ccf60dc90fb1e20 (patch)
tree808fa9b4f27f2a0371baa4caaacb371c65fa5452 /mk
parent3549fd152f64b6846b3339ce63665e0873ed0f3c (diff)
downloadhaskell-f2935c8466a1d88354b1be4a7ccf60dc90fb1e20.tar.gz
Remove UseGcc makefile var
It couldn't be overridden, and was defined as YES.
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in9
1 files changed, 2 insertions, 7 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index e6126f6667..4d93905e33 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -540,15 +540,10 @@ endif
# 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.
-UseGcc = YES
WhatGccIsCalled = @WhatGccIsCalled@
GccVersion = @GccVersion@
-GccLT34 = @GccLT34@
-ifneq "$(strip $(UseGcc))" "YES"
- CC = cc
-else
- CC = $(WhatGccIsCalled)
-endif
+GccLT34 = @GccLT34@
+CC = $(WhatGccIsCalled)
# C compiler and linker flags from configure (e.g. -m<blah> to select
# correct C compiler backend). The stage number is the stage of GHC