Tweak build rules
authorIan Lynagh <igloo@earth.li>
Fri, 22 Apr 2011 11:50:34 +0000 (12:50 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 22 Apr 2011 11:50:34 +0000 (12:50 +0100)
commit5f01243d076db83f6e2b97dd3219d62dc78e3023
tree36398d8d026cbca8c85b65dc3ebd53468d89ddf1
parentdd22e8186b06cdbfcba6d4e14eea6c1884235679
Tweak build rules

We were doing
    echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'
but the only x86 value HOSTPLATFORM can have is i386.

We now also tell GMP that its build platform is $(BUILDPLATFORM)
rather than $(HOSTPLATFORM).
gmp/ghc.mk