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.
Created attachment 172672 [details]
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.