Closed
Bug 973144
Opened 10 years ago
Closed 10 years ago
Add the UNDEFINES variable to moz.build
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla30
People
(Reporter: ehsan.akhgari, Assigned: glandium)
References
Details
Attachments
(1 file, 1 obsolete file)
4.23 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Assignee: nobody → ehsan
Blocks: xulinmozbuild
Reporter | ||
Updated•10 years ago
|
Attachment #8376647 -
Flags: review?(mshal)
Attachment #8376647 -
Flags: review?(mh+mozilla)
Attachment #8376647 -
Flags: review?(gps)
Assignee | ||
Comment 2•10 years ago
|
||
If there really only that place with -U flags, i'd rather fix the code than add a moz.build variable for that. Because when you look at it, it's completely weird. Why need to undefine platform variables for those very platforms?
Assignee | ||
Updated•10 years ago
|
Attachment #8376647 -
Flags: review?(mshal)
Attachment #8376647 -
Flags: review?(mh+mozilla)
Attachment #8376647 -
Flags: review?(gps)
Attachment #8376647 -
Flags: review-
Assignee | ||
Comment 3•10 years ago
|
||
What are those undefines needed for at all?
Flags: needinfo?(rjesup)
Reporter | ||
Comment 4•10 years ago
|
||
FWIW I don't know why they are needed.
Assignee | ||
Comment 5•10 years ago
|
||
So after checking on irc with jesup and testing on mac, it turns out the sctp code is a mess that *does* require those undefines (not all of them, though). But for so few, I'd rather not add a new specialized moz.build variable. Considering DEFINES['FOO'] = True means -DFOO (without =something), and considering DEFINES['FOO'] = False currently raises an exception, i think it makes sense to just use DEFINES['FOO'] = False to mean -UFOO. Note this doesn't cover moving the -U flags from Makefile.in.
Attachment #8378772 -
Flags: review?(gps)
Assignee | ||
Updated•10 years ago
|
Assignee: ehsan → mh+mozilla
Status: NEW → ASSIGNED
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(rjesup)
Updated•10 years ago
|
Attachment #8376647 -
Attachment is obsolete: true
Updated•10 years ago
|
Attachment #8378772 -
Flags: review?(gps) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb02c9e3db0a
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/eb02c9e3db0a
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Reporter | ||
Comment 8•10 years ago
|
||
FWIW this syntax is pretty terrible, and it will confuse anyone who comes across it. I think this was a mistake.
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•