Skip to content

Commit 281e834

Browse files
committed
do not pass -j flag to the MAKE variable
1 parent d708951 commit 281e834

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

getarch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,15 +1930,15 @@ printf("ELF_VERSION=2\n");
19301930

19311931
#ifdef MAKE_NB_JOBS
19321932
#if MAKE_NB_JOBS > 0
1933-
printf("MAKE += -j %d\n", MAKE_NB_JOBS);
1933+
printf("MAKEFLAGS += -j %d\n", MAKE_NB_JOBS);
19341934
#else
19351935
// Let make use parent -j argument or -j1 if there
19361936
// is no make parent
19371937
#endif
19381938
#elif NO_PARALLEL_MAKE==1
1939-
printf("MAKE += -j 1\n");
1939+
printf("MAKEFLAGS += -j 1\n");
19401940
#else
1941-
printf("MAKE += -j %d\n", get_num_cores());
1941+
printf("MAKEFLAGS += -j %d\n", get_num_cores());
19421942
#endif
19431943

19441944
break;

0 commit comments

Comments
 (0)