
27 Oct
2014
27 Oct
'14
4:50 a.m.
On 25 October 2014 05:10, Sergei Trofimovich
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=e5c...