summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorxguo <xguo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-13 10:12:07 +0000
committerxguo <xguo@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-13 10:12:07 +0000
commit7137cdac42c49af85bc0c00b595913bcda9c8d88 (patch)
treea616ef9bf816a6b420d0becce38f494e52da6fe5 /gcc/Makefile.in
parent9991edd9a5214ee1740cb7350ee1d80a3f5f48ca (diff)
downloadgcc-7137cdac42c49af85bc0c00b595913bcda9c8d88.tar.gz
2013-01-13 Terry Guo <terry.guo@arm.com>
* gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE. * gcc/doc/fragments.texi: Document MULTILIB_REUSE. * gcc/gcc.c (multilib_reuse): New internal spec. (set_multilib_dir): Also search multilib from multilib_reuse. * gcc/genmultilib (tmpmultilib3): Refactor code. (tmpmultilib4): Ditto. (multilib_reuse): New multilib argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 3b2cf3cc46a..55b4d2dbce9 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1828,10 +1828,12 @@ s-mlib: $(srcdir)/genmultilib Makefile
"$(MULTILIB_OSDIRNAMES)" \
"$(MULTILIB_REQUIRED)" \
"$(MULTIARCH_DIRNAME)" \
+ "$(MULTILIB_REUSE)" \
"@enable_multilib@" \
> tmp-mlib.h; \
else \
- $(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' '' '' "$(MULTIARCH_DIRNAME)" no \
+ $(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' '' '' \
+ "$(MULTIARCH_DIRNAME)" '' no \
> tmp-mlib.h; \
fi
$(SHELL) $(srcdir)/../move-if-change tmp-mlib.h multilib.h