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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51895
@ -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…
Reference in New Issue
Block a user