Summary: | net-analyzer/jnettop: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
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 fix library ordering and to respect user CFLAGS |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 172672 [details]
Build log
Created attachment 181832 [details, diff]
Patch to fix library ordering and to respect user CFLAGS
The upstream Makefile.am places libraries in AM_LDFLAGS, which is wrong. They should be in jnettop_LDADD.
The upstream Makefile.am also overwrites CFLAGS, so user CFLAGS are not respected. This patch removes that inappropriate assignment, since neither of the specified flags are worth retaining.
Thanks Kevin, patch applied now. |