From 3ce27091006a1cf138b6102ce5af3402cb391041 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 3 Oct 1999 02:43:20 +0000 Subject: Fixed the hack for using "../libgcc/Makefile" in libgcc_r/Makefile. ${LIB} was wrong at dependency-parsing time, so dependencies for libgcc_r*.a were wrong. This somehow worked right, except libgcc_r*.a were always out of date. --- gnu/lib/libgcc/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/lib/libgcc') diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index 5727e75..ee4c5b4 100644 --- a/gnu/lib/libgcc/Makefile +++ b/gnu/lib/libgcc/Makefile @@ -4,7 +4,9 @@ GCCDIR= ${.CURDIR}/../../../contrib/egcs/gcc .PATH: ${GCCDIR}/cp ${GCCDIR} +.if !defined(LIB) || ${LIB} != "gcc_r" LIB= gcc +.endif # Install libgcc_pic.a, since ld.so uses it. INSTALL_PIC_ARCHIVE= yes -- cgit v1.1