Define _HOST_OS and _HOST_ARCH when calling hsc2hs
authorIan Lynagh <igloo@earth.li>
Tue, 1 May 2012 18:14:05 +0000 (19:14 +0100)
committerIan Lynagh <igloo@earth.li>
Tue, 1 May 2012 18:14:05 +0000 (19:14 +0100)
commit74eebed1d73023ebd7c2abc391492918272531f9
tree022daca4ad477563600a1e8b5310590f97cf2190
parentbf21999aad97b96b0318013d16c846730a27f41b
Define _HOST_OS and _HOST_ARCH when calling hsc2hs

In particular, old-time assumes that mingw32_HOST_OS is set when
we are on Windows, and was going wrong on Win64 because it wasn't
defined.
rules/distdir-way-opts.mk