From 4b3c2e064db246c74b1bf672fdeffe2795eec95a Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sat, 4 Jan 1997 12:28:19 +0000 Subject: Add a TOC to a temporary lib so our make(1) will not always rebuild libgcc --- gnu/usr.bin/gcc/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/gcc/Makefile.in b/gnu/usr.bin/gcc/Makefile.in index 53f812a72e6..c438ac02e29 100644 --- a/gnu/usr.bin/gcc/Makefile.in +++ b/gnu/usr.bin/gcc/Makefile.in @@ -906,9 +906,14 @@ libgcc2.a: libgcc2.c libgcc2.ready $(CONFIG_H) $(LIB2FUNCS_EXTRA) \ else true; \ fi; \ done + -if [ x${HPUX_GAS} = x ] ; then \ + if $(RANLIB_TEST) ; then $(RANLIB) tmplibgcc2.a; else true; fi; \ + else true; fi; \ mv tmplibgcc2.a libgcc2.a # These lines were deleted from above the mv command -# because ranlibing libgcc.a itself should suffice. +# because it was thought ranlibing libgcc.a itself should suffice. +# However that was not true, as some make variants treats unranlibed +# archives as always out-of-date. # -if [ x${HPUX_GAS} = x ] ; then \ # if $(RANLIB_TEST) ; then $(RANLIB) tmplibgcc2.a; else true; fi; \ # else true; fi -- cgit v1.2.3