diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-05-21 23:21:11 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-05-21 23:21:11 +0000 |
commit | 694b3ff9672e9c3f0918b71ba8f895211e1bc8a0 (patch) | |
tree | 4e3312036d54fe83e5cf2f3b18b344a0de0d0f2b | |
parent | d49b12041419709a0690667ce1e2b5e9b9a11610 (diff) | |
download | external_llvm-694b3ff9672e9c3f0918b71ba8f895211e1bc8a0.zip external_llvm-694b3ff9672e9c3f0918b71ba8f895211e1bc8a0.tar.gz external_llvm-694b3ff9672e9c3f0918b71ba8f895211e1bc8a0.tar.bz2 |
Pass the Makefile flags to recursive makes in {PARALLEL,OPTIONAL}_DIRS targets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13623 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules index 3009045..59eec66 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -422,7 +422,7 @@ install-bytecode :: $(addsuffix /.makeinstall-bytecode, $(PARALLEL_DIRS)) $(MKDIR) $(@D); \ cp $(SourceDir)/$(@D)/Makefile $(@D)/Makefile; \ fi; \ - $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@) + $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@) $(MFLAGS) endif # Handle directories that may or may not exist @@ -436,7 +436,7 @@ all install clean test bytecode stripped-bytecode install-bytecode:: $(MKDIR) $$dir; \ cp $(SourceDir)/$$dir/Makefile $$dir/Makefile; \ fi; \ - ($(MAKE) -C$$dir $@) || exit 1; \ + ($(MAKE) -C$$dir $@ $(MFLAGS)) || exit 1; \ fi \ done endif |