do not pass -j flag to the MAKE variable
This commit is contained in:
parent
d708951375
commit
281e834566
|
@ -1930,15 +1930,15 @@ printf("ELF_VERSION=2\n");
|
||||||
|
|
||||||
#ifdef MAKE_NB_JOBS
|
#ifdef MAKE_NB_JOBS
|
||||||
#if MAKE_NB_JOBS > 0
|
#if MAKE_NB_JOBS > 0
|
||||||
printf("MAKE += -j %d\n", MAKE_NB_JOBS);
|
printf("MAKEFLAGS += -j %d\n", MAKE_NB_JOBS);
|
||||||
#else
|
#else
|
||||||
// Let make use parent -j argument or -j1 if there
|
// Let make use parent -j argument or -j1 if there
|
||||||
// is no make parent
|
// is no make parent
|
||||||
#endif
|
#endif
|
||||||
#elif NO_PARALLEL_MAKE==1
|
#elif NO_PARALLEL_MAKE==1
|
||||||
printf("MAKE += -j 1\n");
|
printf("MAKEFLAGS += -j 1\n");
|
||||||
#else
|
#else
|
||||||
printf("MAKE += -j %d\n", get_num_cores());
|
printf("MAKEFLAGS += -j %d\n", get_num_cores());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue