I'm reporting this bug because the package in summary fails to build when forcing --as-needed on through spec files (check out http://blog.flameeyes.eu/2008/11/14/problems-and-mitigation-strategies-for-as-needed for details). Check the attached build log. Thanks, Diego
Created attachment 172657 [details] Build log
Maybe it's failing because it ignores LDFLAGS completely. I might have fixed this through bug #240846. Please check if media-video/nvclock-0.8_beta4-r1 still fails in this respect.
*** Bug 264651 has been marked as a duplicate of this bug. ***
Created attachment 187149 [details, diff] nvclock-0.8_beta4-as-needed.patch Patch to change link order and fix building with --as-needed.
Since nvclock-0.8_beta4-r2 this is always true since the Makefiles does pick up LDFLAGS. So could someone please update the summary and/or check in a fix?
Patch looks good.
Should we even consider go upstream with our changes (i.e. makeing the buildsystem pick up {C,LD}FLAGS and this fix)?
Patch applied media-video/nvclock-0.8_beta4-r3.
Mail with both patches attached sent upstream.