emscripten-core / emscripten-core/emscripten
How to call emmake to pass down MAKEFLAGS
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
I have a main Makefile that build a few Emscriptenized tools. Inside I call `emmake make`, but this does not pass down root MAKEFLAGS (parallel build), since `$(MAKE)` must be used. If I pass `MAKEFLAGS` explicitly, it creates some bogus `-j` makeflag if no MAKEFLAGS were actually passed to the main make.
Is there an accepted way of passing down MAKEFLAGS to submake? Should I use `emmake $(MAKE)`?
I can create my own SUBMAKEFLAGS - that should work, but it's a somewhat nasty hack.
Contributor guide
Assessment
This issue has not been assessed yet.