| Summary: | sys-fs/dosfstools - incorrectly adds '-g' to CFLAGS | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sergey Popov <pinkbyte> |
| Component: | [OLD] Core system | Assignee: | 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 | ||
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 |
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?