diff options
author | marcel <marcel@FreeBSD.org> | 2003-06-27 18:07:47 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-06-27 18:07:47 +0000 |
commit | 0c4853b895391bd867798408f94713ab4c2769f9 (patch) | |
tree | 5882905c74969bbdc613bce357faf65c4f97cbc9 /lib | |
parent | 131318184e9eceae71726ef73aef6d437338ac47 (diff) | |
download | FreeBSD-src-0c4853b895391bd867798408f94713ab4c2769f9.zip FreeBSD-src-0c4853b895391bd867798408f94713ab4c2769f9.tar.gz |
Create compatibility links for libc_r on ia64 to prevent build-time
breakages. Note that runtime compatibility is not guaranteed. Future
changes to setjmp/longjmp in libc will break threaded applications
linked against libc_r.so.5 on ia64. We pull our "tier 2" card once
more...
Reviewed by: ru
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libthr/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile index de4307e..aad88db 100644 --- a/lib/libthr/Makefile +++ b/lib/libthr/Makefile @@ -26,4 +26,16 @@ WARNS?= 2 .include "${.CURDIR}/sys/Makefile.inc" .include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" +.if !defined(NOLIBC_R) +.if ${MACHINE_ARCH} == "ia64" +SYMLINKS+=libthr.a ${LIBDIR}/libc_r.a +.if !defined(NOPIC) +SYMLINKS+=libthr.so ${SHLIBDIR}/libc_r.so +.endif +.if !defined(NOPROFILE) +SYMLINKS+=libthr_p.a ${LIBDIR}/libc_r_p.a +.endif +.endif +.endif + .include <bsd.lib.mk> |