From bea399d6982881e4bc2cae4fa2c9f7aaf9a6cd42 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Wed, 25 Jan 2012 07:25:16 -0600 Subject: dmake-invoked gnumake may need implicite rules... avoid impacting theem --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 29093cd2ca79..3858754f404c 100644 --- a/Makefile +++ b/Makefile @@ -251,10 +251,12 @@ define dmake_module_rules .PHONY: $(1) $(1).all $(1).deliver $(1).clean $(1): bootstrap fetch - cd $(1) && $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM) + cd $(1) && unset MAKEFLAGS && \ + $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM) $(1).all: bootstrap fetch - cd $(1) && $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM) + cd $(1) && unset MAKEFLAGS && \ + $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM) $(1).deliver: bootstrap fetch cd $(1) && $(SOLARENV)/bin/deliver.pl @@ -272,7 +274,7 @@ endef # Build # build: bootstrap fetch $(if $(filter $(INPATH),$(INPATH_FOR_BUILD)),,cross-toolset) - cd instsetoo_native && \ + cd instsetoo_native && unset MAKEFLAGS && \ $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) --all -- -P$(GMAKE_PARALLELISM) cross-toolset: -- cgit