Closed
Bug 1401118
Opened 8 years ago
Closed 8 years ago
Avoid having to modify replace-malloc.mk every time we add an allocator API entry point
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox57 fixed)
RESOLVED
FIXED
mozilla57
| Tracking | Status | |
|---|---|---|
| firefox57 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
No description provided.
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8909677 [details]
Bug 1401118 - Avoid having to modify replace-malloc.mk every time we add an allocator API entry point.
https://reviewboard.mozilla.org/r/181208/#review186492
::: mozglue/build/replace_malloc.mk:8
(Diff revision 1)
> OS_LDFLAGS += \
> - -Wl,-U,_replace_init \
> + $(shell awk -F'[(),]' '/^MALLOC_DECL/{print "-Wl,-U,_replace_" $$2}' $(topsrcdir)/memory/build/malloc_decls.h) \
Adding `$(shell)` to Makefiles is not super-conducive to getting rid of Makefiles, but I suppose this is not horrible.
Attachment #8909677 -
Flags: review?(nfroyd) → review+
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/0ed0593535e0
Avoid having to modify replace-malloc.mk every time we add an allocator API entry point. r=froydnj
Comment 4•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•