Summary: | sys-apps/usb_modeswitch: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Wolfram Schlich (RETIRED) <wschlich> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/asneeded.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
Build log
Patch to usb_modeswitch-0.9.4.ebuild to fix link ordering |
Description
Diego Elio Pettenò (RETIRED)
2008-11-23 16:13:51 UTC
Created attachment 173002 [details]
Build log
Created attachment 181834 [details, diff]
Patch to usb_modeswitch-0.9.4.ebuild to fix link ordering
This package calls the compiler directly from the ebuild, so the fix is to patch the ebuild to move the library to appear after the source file. While changing it, $CPPFLAGS are added to the call, for consistency with the LINK.c macro that GNU make uses for the implicit rule "%: %.c".
Thanks for the patch, fixed now. |