Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125925 - net-dns/djbdns appears to use LDFLAGS incorrectly
Summary: net-dns/djbdns appears to use LDFLAGS incorrectly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-12 05:54 UTC by solar (RETIRED)
Modified: 2006-03-12 08:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2006-03-12 05:54:39 UTC
The ebuilds exports LDFLAGS in a manner that overwrites any user 
defined settings. This breaks cross-compiling among other things that rely on passing -L${ROOT}/lib/path path options.

Offending code:
 useq static && LDFLAGS="-static"

Suggested solution:
 inherit flag-o-matic
 use static && append-ldflags -static
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2006-03-12 08:03:53 UTC
Fixed, among other things, in CVS. Thanks.