On 25 October 2014 05:10, Sergei Trofimovich <sly...@gmail.com> wrote:
>
> I believe the proper way to pass them is via
>     --ghc-option="-optc$EACH_CFLAG -optl$EACH_LDFLAG -opta$EACH_ASFLAG"
> as Cabal uses ghc to compile .c/.cpp files.
>

Thanks Sergei that helped a lot. :)

I can now get proper debuginfo generated for libraries,
but somehow not for executables: but that looks
like some ghc behaviour problem perhaps.

http://pkgs.fedoraproject.org/cgit/ghc-rpm-macros.git/tree/macros.ghc?id=e5c8c16492266bfe8ef02ec58cac0f745533e165#n26
_______________________________________________
cabal-devel mailing list
cabal-devel@haskell.org
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to