Project

General

Profile

Actions

Bug #3735

closed

should include an empty make variable in the default CFLAGS/CCFLAGS

Added by Rich Lowe about 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2013-04-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

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.

Actions #1

Updated by Rich Lowe almost 8 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)
Actions #2

Updated by Rich Lowe almost 8 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

Also available in: Atom PDF