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

Bug 380937

Summary: dev-libs/nspr : PLease remove -g from CFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Mozilla Gentoo Team <mozilla>
Severity: minor CC: gef.kornflakes
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2011-08-28 12:07:01 UTC
x86_64-pc-linux-gnu-gcc -o prfdcach.o -c -fvisibility=hidden    -march=native -pipe -O2 -g0 -Wall -pthread -g -fno-inline -fPIC  -UNDEBUG -DDEBUG_portage  -DDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1 -DXP_UNIX=1 -D_GNU_SOURCE=1 -DHAVE_FCNTL_FILE_LOCKING=1 -DLINUX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I../../../../mozilla/nsprpub/pr/include -I../../../../mozilla/nsprpub/pr/include/private  ../../../../mozilla/nsprpub/pr/src/io/prfdcach.c
Comment 1 Jory A. Pratt gentoo-dev 2012-01-22 22:48:20 UTC
you obviously have debug enabled, -DDEBUG_portage 
-DDEBUG=1  which would result in -g being passed via cflags for debugging purposes, not gonna change in the source.