Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 369607

Summary: =net-analyzer/argus-clients-3.0.4.1-r1 add itself CFLAGS="-g"
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2011-06-01 08:38:13 UTC
Also with USE="-debug" i see:


x86_64-pc-linux-gnu-gcc -march=native -O2 -g0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -I. -I../include -I/usr//include -I/usr/include/mysql -DHAVE_CONFIG_H -DARGUS_SYSLOG -g  -c ./argus_main.c


Please drop.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-07-06 15:26:32 UTC
Even /with/ USE=debug it should not be doing that. Oddly enough acsite.m4 says -g is only added to CFLAGS when a file named .devel is present, so injecting CFLAGS into any Makefile.in as it was done since bug #331871 was the wrong solution.

I think I have it fixed now in 3.0.4.1-r2 and 3.0.5.16.