Actions
Bug #3735
closedshould include an empty make variable in the default CFLAGS/CCFLAGS
Start date:
2013-04-19
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
It'd be great, for those of us who sometimes want to pass in extra compiler flags to facilitate debugging (be that passing '-g' to get DWARF, or passing something more specialized), if we could guarantee that we weren't clobbering some important part of the build cramming it in, and if we didn't have to edit (potentially) a great many makefiles.
I propose adding a DEBUGFLAG (or something) in all the same spaces as, for eg, SPACEFLAG, and leaving it otherwise empty, such that a person could utter "make DEBUGFLAG=-g STRIPSTABS_KEEP_STABS=1", or "make DEBUGFLAG=-_gcc=-save-temps" or what have you.
Updated by Rich Lowe almost 10 years ago
- Subject changed from should include an empty make variable in the default CFLAGS/CXXFLAGS/etc. to should include an empty make variable in the default CFLAGS/CCFLAGS
- Category set to tools - gate/build tools
- Status changed from New to In Progress
- Assignee set to Rich Lowe
- % Done changed from 0 to 60
- Tags deleted (
needs-triage)
Updated by Rich Lowe almost 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 60 to 100
Resolved in d69cdb3
(and eventually named CUSERFLAGS and CCUSERFLAGS, and their ...64 equivalents)
Actions