Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289220 - fftw: Wrong use of no-as-needed from flag-o-matic.eclass.
Summary: fftw: Wrong use of no-as-needed from flag-o-matic.eclass.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Sébastien Fabbro (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-15 17:28 UTC by Samuli Suominen (RETIRED)
Modified: 2009-10-16 03: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 Samuli Suominen (RETIRED) gentoo-dev 2009-10-15 17:28:57 UTC
The $(as-needed) function will return -Wl,--no-as-needed with GNU ld. So,
you must use: append-ldflags $(no-as-needed) to get it appended in LDFLAGS. :)

It's the return value, not a whole function.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-10-15 17:30:15 UTC
s/$(as-needed)/$(no-as-needed)/, typo in last comment.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-10-15 17:31:05 UTC
also in "man flag-o-matic.eclass", 

no-as-needed

Return value: Flag to disable asneeded behavior for use with append-ldflags.
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-10-16 03:51:57 UTC
fixed. Thanks!