patch applied (cabal-branches/cabal-1.2): Put _stub.{c|h}
files under dist/ so they'll get cleaned. Fixes bug #154.
Duncan Coutts
duncan.coutts at worc.ox.ac.uk
Wed Sep 26 07:08:45 EDT 2007
In message <20070926011104.GA6558 at matrix.chaos.earth.li>
cabal-devel at haskell.org, Duncan Coutts <duncan.coutts at worc.ox.ac.uk> writes:
>
> Duncan,
>
> On Tue, Sep 25, 2007 at 05:39:21PM -0700, Ian Lynagh wrote:
> > Mon Sep 17 05:30:42 PDT 2007 Duncan Coutts <duncan at haskell.org>
> > * Put _stub.{c|h} files under dist/ so they'll get cleaned. Fixes bug #154.
> > Only used with ghc-6.6 and later which supports the -stubdir flag.
> > With earlier ghc versions the files still end up in the src dirs and so do not
> > get cleaned.
>
> Should the > in this be >=?
>
> hunk ./Distribution/Simple/GHC.hs 482
> + ++ (if compilerVersion c > Version [6,6] []
> + then ["-stubdir", odir] else [])
Yes it should. You can see I was only testing with ghc-6.6.1 :-)
I'll fix it in HEAD and the 1.2 branch.
Duncan
> Thanks
> Ian
>
More information about the cabal-devel
mailing list