From faaf84103e2adc33e6513cd996b68b4fd71abe92 Mon Sep 17 00:00:00 2001 From: Chia-Che Tsai Date: Sat, 11 Feb 2017 09:37:19 -0500 Subject: [PATCH] silent glibc compilation and redirect the log into a file --- LibOS/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LibOS/Makefile b/LibOS/Makefile index a049a7ee..da7a68e4 100644 --- a/LibOS/Makefile +++ b/LibOS/Makefile @@ -14,7 +14,9 @@ all: $(GLIBC_TARGET) ifeq ($(SYS),x86_64-linux-gnu) $(GLIBC_TARGET): $(BUILD_DIR)/Makefile - cd $(BUILD_DIR) && $(MAKE) + @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." + @rm -f $(BUILD_DIR)/build.log + cd $(BUILD_DIR) && (($(MAKE) >> build.log) 2>&1 | tee -a build.log) $(BUILD_DIR)/Makefile: $(addprefix $(GLIBC_SRC)/,configure elf/Versions nptl/Versions dlfcn/Versions) ifeq ($(DEBUG),1)