From: niklas Date: Sat, 4 Jan 1997 12:28:18 +0000 (+0000) Subject: Add a TOC to a temporary lib so our make(1) will not always rebuild libgcc X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=eeedf351c399b171630dff734d45f6d822d15a81;p=openbsd Add a TOC to a temporary lib so our make(1) will not always rebuild libgcc --- 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