mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-19 04:31:17 +00:00
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
This commit is contained in:
parent
d49b120414
commit
694b3ff967
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user