diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-06-15 18:56:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-06-15 19:26:17 +0200 |
commit | 6fb212f2933bbbdf2935124205717c9d0ca72b32 (patch) | |
tree | ab738de0137425e43edfc90bb3bd110be2a5e4a7 /tools/cmake | |
parent | e2a9c638e7f8c108ada98a4b200581090349b03d (diff) | |
download | upstream-6fb212f2933bbbdf2935124205717c9d0ca72b32.tar.gz upstream-6fb212f2933bbbdf2935124205717c9d0ca72b32.tar.bz2 upstream-6fb212f2933bbbdf2935124205717c9d0ca72b32.zip |
build: don't add -j for parallel builds with Make 4.2+
Make usually passes -j and jobserver arguments as part of MAKEFLAGS. LEDE
removes MAKEFLAGS to have better control of the build, and re-adds the
jobserver arguments with -j to the Make commandline where desired.
Make 4.2+ behave differently with these arguments passed on the commandline
than in MAKEFLAGS: -j will override the jobserver argument and the job
count will be unlimited.
Moving the flags to MAKEFLAGS will need many packages to be changed and
tested; therefore, we opt for a less invasive change for now and just
remove -j for Make 4.2+, as the jobserver argument alone is enough to
enable parallel builds for these Make versions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'tools/cmake')
0 files changed, 0 insertions, 0 deletions