diff options
author | bde <bde@FreeBSD.org> | 1999-10-03 02:43:20 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-10-03 02:43:20 +0000 |
commit | 3ce27091006a1cf138b6102ce5af3402cb391041 (patch) | |
tree | 424fe04c44ec54a0f024c3648782cddb755746e3 /gnu | |
parent | 47daf9ef2b43e9b35192757381ec81071abd41bc (diff) | |
download | FreeBSD-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')
-rw-r--r-- | gnu/lib/libgcc/Makefile | 2 | ||||
-rw-r--r-- | gnu/lib/libgcc_r/Makefile | 4 |
2 files changed, 4 insertions, 2 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 diff --git a/gnu/lib/libgcc_r/Makefile b/gnu/lib/libgcc_r/Makefile index 6428eba..7f73302 100644 --- a/gnu/lib/libgcc_r/Makefile +++ b/gnu/lib/libgcc_r/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -.include "../libgcc/Makefile" - LIB= gcc_r CFLAGS+=-D_PTHREADS + +.include "../libgcc/Makefile" |