patch applied (hsc2hs): Don't set HSC2HS_EXTRA= when we get a --cc= flag; fixes trac #3681
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.other |
|---|---|
| Message-ID | <[email protected]> |
Tue Dec 1 04:47:16 PST 2009 Ian Lynagh <[email protected]> * Don't set HSC2HS_EXTRA= when we get a --cc= flag; fixes trac #3681 On OS X, we need to specify -m32 or -m64 in order to get gcc to build binaries for the right target. We do that by putting it in HSC2HS_EXTRA. When cabal runs hsc2hs, it passes a flag saying which gcc to use, so if we set HSC2HS_EXTRA= then we don't get binaries for the right platform. So for now we just don't set HSC2HS_EXTRA= but we probably want to revisit how this works in the future. M ./hsc2hs.wrapper -2 +8 View patch online: http://darcs.haskell.org/hsc2hs/_darcs/patches/20091201124716-3fd76-3df235cdabd75ae94abc068e72cb098b09f556fe.gz