Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303237 - net-analyzer/net-snmp: net-snmp-config encodes $CFLAGS and $LDFLAGS
Summary: net-analyzer/net-snmp: net-snmp-config encodes $CFLAGS and $LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-02 16:59 UTC by SpanKY
Modified: 2010-04-29 16:52 UTC (History)
1 user (show)

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 SpanKY gentoo-dev 2010-02-02 16:59:14 UTC
$ net-snmp-config --cflags
-DNETSNMP_ENABLE_IPV6 -march=native -O2 -pipe -g -Wimplicit-function-declaration -Ulinux -Dlinux=linux -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -I. -I/usr/include

$ portageq envvar CFLAGS
-march=native -O2 -pipe -g -Wimplicit-function-declaration

$ net-snmp-config --libs
-Wl,-O1 -L/usr/lib64 -lnetsnmp

$ portageq envvar LDFLAGS
-Wl,-O1

the contents of my CFLAGS/LDFLAGS shouldnt be encoded in the -config script
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-29 16:52:34 UTC
Thanks. Fixed in 5.4.2.1-r4.