summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libgcc
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-10-03 02:43:20 +0000
committerbde <bde@FreeBSD.org>1999-10-03 02:43:20 +0000
commit3ce27091006a1cf138b6102ce5af3402cb391041 (patch)
tree424fe04c44ec54a0f024c3648782cddb755746e3 /gnu/lib/libgcc
parent47daf9ef2b43e9b35192757381ec81071abd41bc (diff)
downloadFreeBSD-src-3ce27091006a1cf138b6102ce5af3402cb391041.zip
FreeBSD-src-3ce27091006a1cf138b6102ce5af3402cb391041.tar.gz
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.
Diffstat (limited to 'gnu/lib/libgcc')
-rw-r--r--gnu/lib/libgcc/Makefile2
1 files changed, 2 insertions, 0 deletions
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
OpenPOWER on IntegriCloud