Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257622 - net-analyzer/net-snmp: CFLAGS are introduced in -config script
Summary: net-analyzer/net-snmp: CFLAGS are introduced in -config script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High QA (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-04 15:29 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-12-08 05:25 UTC (History)
0 users

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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-04 15:29:12 UTC
flame@yamato snips % net-snmp-config --cflags    
-march=barcelona -O2 -pipe -Wformat=2 -Wno-error -Wno-pointer-sign -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length -Ulinux -Dlinux=linux -I. -I/usr/include
flame@yamato snips % net-snmp-config --base-cflags
-march=barcelona -O2 -pipe -Wformat=2 -Wno-error -Wno-pointer-sign -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length -Ulinux -Dlinux=linux -I/usr/include
flame@yamato snips %  net-snmp-config --ldflags
-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common

by the way, -Ulinux -Dlinux=linux breaks the default preprocessor macros defined by gcc ....
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-12-08 05:25:19 UTC
Fixed in 5.4.2.1-r3.