Closed
Bug 1224460
Opened 9 years ago
Closed 9 years ago
Many compilation-related variables contain make variables that are unsuitable in moz.build land
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox45 fixed)
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(4 files)
8.62 KB,
patch
|
Details | Diff | Splinter Review | |
2.18 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
7.28 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
2.52 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
There are many of those, but for this bug, I'm mainly interested in those that affect compilation-related variables like CFLAGS, LDFLAGS, etc.
For instance, on Linux, TK_CFLAGS is literally '$(MOZ_GTK3_CFLAGS)', and is added to CXXFLAGS in many moz.build files.
Assignee | ||
Comment 1•9 years ago
|
||
On an opt Linux build, this gives me the following problematic variables:
- TK_FLAGS ("$(MOZ_GTK3_CFLAGS)")
- MOZ_CAIRO_CFLAGS ("-I$(LIBXUL_DIST)/include/cairo")
- MOZ_ICU_CFLAGS ("-I$(topsrcdir)/intl/icu/source/i18n")
- things coming out of gyp.
The latter is a different story, it might need its own separate bug.
Assignee | ||
Comment 2•9 years ago
|
||
Other variables as taken across all platforms:
- TK_LIBS
- CAIRO_FT_CFLAGS
And it looks like it would be all.
Comment 3•9 years ago
|
||
If we're setting these in configure then it seems like we could let them be interpolated there. Presumably we're just explicitly quoting them so they persist to autoconf.mk?
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Comment 4•9 years ago
|
||
We're going to be using -I$_topsrcdir in some CFLAGS variables, and for that
we need windows-y paths, not msys paths. All things currently using
$_topsrcdir should cope with this just fine.
Attachment #8688392 -
Flags: review?(gps)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8688395 -
Flags: review?(gps)
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8688397 -
Flags: review?(gps)
Updated•9 years ago
|
Attachment #8688392 -
Flags: review?(gps) → review+
Updated•9 years ago
|
Attachment #8688395 -
Flags: review?(gps) → review+
Updated•9 years ago
|
Attachment #8688397 -
Flags: review?(gps) → review+
Comment 8•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/aeebc4c5fba7
https://hg.mozilla.org/mozilla-central/rev/53e32f626afc
https://hg.mozilla.org/mozilla-central/rev/7b54175c1241
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment 10•9 years ago
|
||
bugherder |
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
•