Commit 4d2fb38b by Jakub Jelinek Committed by Jakub Jelinek

Makefile.in (s-mlib): Handle --disable-multilib by separate genmultilib invocation.

	* Makefile.in (s-mlib): Handle --disable-multilib by separate
	genmultilib invocation.

From-SVN: r51912
parent 23dbaeda
2002-04-05 Jakub Jelinek <jakub@redhat.com>
* Makefile.in (s-mlib): Handle --disable-multilib by separate
genmultilib invocation.
2002-04-04 Richard Sandiford <rsandifo@redhat.com> 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
......
...@@ -1036,14 +1036,18 @@ libgcc.a: $(LIBGCC_DEPS) ...@@ -1036,14 +1036,18 @@ libgcc.a: $(LIBGCC_DEPS)
# switches. # switches.
multilib.h: s-mlib; @true multilib.h: s-mlib; @true
s-mlib: $(srcdir)/genmultilib Makefile s-mlib: $(srcdir)/genmultilib Makefile
if test @enable_multilib@ = yes; then \
$(SHELL) $(srcdir)/genmultilib \ $(SHELL) $(srcdir)/genmultilib \
"`test @enable_multilib@ != yes || echo $(MULTILIB_OPTIONS)`" \ "$(MULTILIB_OPTIONS)" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_DIRNAMES)`" \ "$(MULTILIB_DIRNAMES)" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_MATCHES)`" \ "$(MULTILIB_MATCHES)" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXCEPTIONS)`" \ "$(MULTILIB_EXCEPTIONS)" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXTRA_OPTS)`" \ "$(MULTILIB_EXTRA_OPTS)" \
"`test @enable_multilib@ != yes || echo $(MULTILIB_EXCLUSIONS)`" \ "$(MULTILIB_EXCLUSIONS)" \
> tmp-mlib.h > tmp-mlib.h; \
else \
$(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' > tmp-mlib.h; \
fi
$(SHELL) $(srcdir)/move-if-change tmp-mlib.h multilib.h $(SHELL) $(srcdir)/move-if-change tmp-mlib.h multilib.h
$(STAMP) s-mlib $(STAMP) s-mlib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment