diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-01-25 07:25:16 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-02-05 19:34:05 -0600 |
commit | bea399d6982881e4bc2cae4fa2c9f7aaf9a6cd42 (patch) | |
tree | 067c4a22a5fed6b5623b7c3c2b819466f3370bbf | |
parent | c857dff7fc4b180c1d405ea5584e06c0581427ae (diff) |
dmake-invoked gnumake may need implicite rules... avoid impacting theem
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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: |