Commit be63ee35 authored by Simon Marlow's avatar Simon Marlow
Browse files

Remove hacky GCC setting

It isn't necessary now that Cabal can find gcc in the new layout, and
it was taking a long time (2.5s on Windows every time you start up
make in the testsuite)
parent 9437ddf5
......@@ -90,10 +90,6 @@ else
# use stage2 by default
TEST_HC := $(NEW_BUILD_SYSTEM_STAGE2_GHC)
endif
# XXX This GCC definition is a hack. Once the in-tree GHC has a gcc in the
# right place we won't need to do this, as Cabal will be able to find
# gcc relative to ghc's location.
GCC := $(shell cd $(TOP)/.. && $(MAKE) --no-print-directory -s show VALUE=WhatGccIsCalled 2> /dev/null | sed 's/.*"\(.*\)"/\1/')
endif
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment