Don't pass CC= explicitly to `./configure` scripts
authorHerbert Valerio Riedel <hvr@gnu.org>
Mon, 14 Dec 2015 09:42:17 +0000 (10:42 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Mon, 14 Dec 2015 09:42:27 +0000 (10:42 +0100)
commitbaed2f5a26a5d4c4e951bd8f003f71fca3ef45e8
treee7b744c925ff52d50bcef144921bbba1c5a22b3f
parentfcc6b1def57d3009f9a3662a96d87ee041eb49b8
Don't pass CC= explicitly to `./configure` scripts

This is a follow-up to fcc6b1d / D1608 which is made possible
by the recent Cabal update:

As `ghc-cabal` is called with `--with-gcc`, this gets passed to `./configure`
as `CC=...` argument. So we don't need to set `CC=...` ourselves explicitly again.

Prior to the changes in Cabal (pulled in via  0bf0cf936c7) and fcc6b1d,
`./configure` scripts would be called with a `--with-cc` argument followed by a
`--with-gcc` argument.

After this commit, `./configure` will be passed a single `CC=...` argument
constructed by the `Cabal` library.

Reviewed By: erikd

Differential Revision: https://phabricator.haskell.org/D1611
rules/build-package-data.mk