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:
parent
20e5b092e0
commit
87d902672f
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include "../libgcc/Makefile"
|
||||
|
||||
LIB= gcc_r
|
||||
CFLAGS+=-D_PTHREADS
|
||||
|
||||
.include "../libgcc/Makefile"
|
||||
|
Loading…
x
Reference in New Issue
Block a user