Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453764 - sys-fs/dosfstools - incorrectly adds '-g' to CFLAGS
Summary: sys-fs/dosfstools - incorrectly adds '-g' to CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-24 04:14 UTC by Sergey Popov
Modified: 2013-01-24 04:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,4.12 KB, text/plain)
2013-01-24 04:14 UTC, Sergey Popov
Details

Note You need to log in before you can comment on or make changes to this bug.
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