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.
This commit is contained in:
Bruce Evans 1999-10-03 02:43:20 +00:00
parent 20e5b092e0
commit 87d902672f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51895
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.include "../libgcc/Makefile"
LIB= gcc_r
CFLAGS+=-D_PTHREADS
.include "../libgcc/Makefile"