Closed
Bug 781529
Opened 12 years ago
Closed 12 years ago
Use -MMD flag for dependency generation
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file, 2 obsolete files)
1.67 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
We currently use -MD -MF file.pp to generate makefile dependencies based on preprocessor output. This includes system headers. We should add -MM so that system headers are not considered. This would remove a lot of file checking.
At the same time, we should consider the headers in $(DIST)/system_wrapper and $(DIST)/stl_wrappers as system headers.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #650558 -
Flags: review?(ted.mielczarek)
Assignee | ||
Comment 2•12 years ago
|
||
Actually, the -isystem part is not a good idea, as some of the wrappers are actually used for in-tree non-system headers. Using -isystem would make them fail to be used. Just limit to -MM.
Attachment #651110 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•12 years ago
|
Attachment #650558 -
Attachment is obsolete: true
Attachment #650558 -
Flags: review?(ted.mielczarek)
Assignee | ||
Comment 3•12 years ago
|
||
Erf, in fact -MM doesn't do the right thing. Replacing -MD with -MMD does.
Attachment #651115 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•12 years ago
|
Attachment #651110 -
Attachment is obsolete: true
Attachment #651110 -
Flags: review?(ted.mielczarek)
Assignee | ||
Updated•12 years ago
|
Summary: Add -MM flag for dependency generation → Use -MMD flag for dependency generation
Updated•12 years ago
|
Attachment #651115 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Assignee | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•