From: Ian Lynagh Date: Fri, 22 Apr 2011 21:57:24 +0000 (+0100) Subject: Remove UseGcc makefile var X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=f2935c8466a1d88354b1be4a7ccf60dc90fb1e20 Remove UseGcc makefile var It couldn't be overridden, and was defined as YES. --- diff --git a/mk/config.mk.in b/mk/config.mk.in index e6126f6..4d93905 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -540,15 +540,10 @@ endif # the flag --with-gcc= 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 to select # correct C compiler backend). The stage number is the stage of GHC