From 0c4853b895391bd867798408f94713ab4c2769f9 Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 27 Jun 2003 18:07:47 +0000 Subject: 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 --- lib/libthr/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/libthr') 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 -- cgit v1.1