Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276308 - sci-chemistry/cns is passing libraries through append-ldflags
Summary: sci-chemistry/cns is passing libraries through append-ldflags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: append-ldflags-libs
  Show dependency tree
 
Reported: 2009-07-02 22:07 UTC by Christian Ruppert (idl0r)
Modified: 2009-07-31 06:51 UTC (History)
0 users

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 Christian Ruppert (idl0r) gentoo-dev 2009-07-02 22:07:13 UTC
The reason is that LDFLAGS should _not_ be used for libraries, as it has to be
positioned before the list of objects to link together, while libraries should
go after.

This mistake in commandline is what causes as-needed to either fail or not
apply at all (if LDFLAGS are put at the end).

Please fix your package not to pass libraries through LDFLAGS.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2009-07-03 06:19:33 UTC
Whcih package do you mean?
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2009-07-03 08:05:35 UTC
Oops..

Summary fixed :)
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-07-03 08:56:12 UTC
I will fix that. Or I allready did but have it in my personal overlay.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2009-07-14 08:43:16 UTC
fixed in sci overlay