Browse Source

do not pass -j flag to the MAKE variable

tags/v0.3.24
Guillaume Horel 2 years ago
parent
commit
281e834566
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      getarch.c

+ 3
- 3
getarch.c View File

@@ -1930,15 +1930,15 @@ printf("ELF_VERSION=2\n");

#ifdef MAKE_NB_JOBS
#if MAKE_NB_JOBS > 0
printf("MAKE += -j %d\n", MAKE_NB_JOBS);
printf("MAKEFLAGS += -j %d\n", MAKE_NB_JOBS);
#else
// Let make use parent -j argument or -j1 if there
// is no make parent
#endif
#elif NO_PARALLEL_MAKE==1
printf("MAKE += -j 1\n");
printf("MAKEFLAGS += -j 1\n");
#else
printf("MAKE += -j %d\n", get_num_cores());
printf("MAKEFLAGS += -j %d\n", get_num_cores());
#endif

break;


Loading…
Cancel
Save