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

Bug 453764

Summary: sys-fs/dosfstools - incorrectly adds '-g' to CFLAGS
Product: Gentoo Linux Reporter: Sergey Popov <pinkbyte>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: QA    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Sergey Popov gentoo-dev 2013-01-24 04:14:20 UTC
Created attachment 336694 [details]
build.log

All versions in portage have this issue, build.log attached.

From Makefile:

DEBUGFLAGS = -g
CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS)

Maybe we should add USE='debug' and drop adding of DEBUGFLAGS if it's disabled?
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-01-24 04:23:08 UTC
USE=debug is not for setting debug level -g, -ggdb2...3... or anything like that, it's for additional debug source code paths, like -DDEBUG and #ifdef in the code

Fixed in tree for .14 now by removing entire DEBUGFLAGS. Thanks for reporting