Summary: | Cabal built binaries do not respect LDFLAGS variable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergei Trofimovich (RETIRED) <slyfox> |
Component: | New packages | Assignee: | Gentoo's Haskell Language team <haskell> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://hackage.haskell.org/trac/hackage/ticket/458 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 335591 | ||
Bug Blocks: | 331933 |
Description
Sergei Trofimovich (RETIRED)
2010-08-17 19:29:05 UTC
Fixed in .eclass by:
> slyfox 10/09/12 07:37:09
>
> Modified: haskell-cabal.eclass
> Log:
> Make .cabal built haskell packages respect LDFLAGS envvar. Fixes bug #333217 (and inferior bug #335591)
The current approach is to convert environment LDFLAGS to cabal parameters for ghc: each $ldflag translates to --ghc-option=-optl$ldflag
|