diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-04 12:28:19 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-04 12:28:19 +0000 |
commit | 4b3c2e064db246c74b1bf672fdeffe2795eec95a (patch) | |
tree | 005561c223c62934656c3ce5edfda4ee886fa601 /gnu/usr.bin | |
parent | baccd07aab4c2be8288de93d65b05876980f47b9 (diff) |
Add a TOC to a temporary lib so our make(1) will not always rebuild libgcc
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r-- | gnu/usr.bin/gcc/Makefile.in | 7 |
1 files changed, 6 insertions, 1 deletions
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 |