Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125926 - mail-filter/dcc appears to use LDFLAGS incorrectly
Summary: mail-filter/dcc 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 06:02 UTC by solar (RETIRED)
Modified: 2006-03-26 02:05 UTC (History)
3 users (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 06:02:50 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:
 export LDFLAGS="$(bindnow-flags)"

Suggested solution:
 inherit flag-o-matic
 append-ldflags $(bindnow-flags)
Or
export LDFLAGS="$(bindnow-flags) ${LDFLAGS}"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-03-26 02:05:35 UTC
in cvs.