passing CFLAGS and LDFLAGS to ghc via Cabal?

Sergei Trofimovich slyich at gmail.com
Mon Oct 27 08:59:13 UTC 2014


On Mon, 27 Oct 2014 17:50:41 +0900
Jens Petersen <juhpetersen at gmail.com> wrote:

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

More likely cabal's feature. To avoid stripping we use
    --disable-executable-stripping (cabal-1.4+)
option for 'Setup configure' phase (and then we strip
binaries by package manager if user didn't request
debugging support).

-- 

  Sergei
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20141027/a60d05f9/attachment.sig>


More information about the cabal-devel mailing list