Tweak build rules for libffi
authorIan Lynagh <igloo@earth.li>
Fri, 22 Apr 2011 11:56:02 +0000 (12:56 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 22 Apr 2011 12:08:27 +0000 (13:08 +0100)
commit0d72999279cf583336416a4c76de769bfc839b97
tree3619ab72cc0fecaf53eb7633d6e3f3d90e0ed26d
parent928f2cca01e0d856af0bce20da951677889b123e
Tweak build rules for libffi

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

We now tell libffi its build platform again, but we now tell it it's
$(BUILDPLATFORM) rather than $(HOSTPLATFORM).
libffi/ghc.mk