Browse Source

[LibOS] Remove setting PARALELLMFLAGS for Glibc build

Previously, PARALLELMFLAGS variable caused warnings during Glibc build:
"-jN forced in submake: disabling jobserver mode". Since make supports
the jobserver such that passing -jN to parent make automatically allows
its child make to parallelize its jobs, we do not have to pass -j flags
to the child make.
Isaku Yamahata 4 years ago
parent
commit
b82d838b7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      LibOS/Makefile

+ 1 - 1
LibOS/Makefile

@@ -44,7 +44,7 @@ ifeq ($(findstring x86_64,$(SYS))$(findstring linux,$(SYS)),x86_64linux)
 
 $(BUILD_DIR)/Build.success: $(BUILD_DIR)/Makefile
 	@echo "Building glibc, may take a while to finish. Warning messages may show up. If this process terminates with failures, see \"$(BUILD_DIR)/build.log\" for more information."
-	($(MAKE) PARALLELMFLAGS='-j `nproc`' -C $(BUILD_DIR) 2>&1 >> build.log) && touch $@
+	($(MAKE) -C $(BUILD_DIR) 2>&1 >> build.log) && touch $@
 
 $(GLIBC_TARGET): $(BUILD_DIR)/Build.success