1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

lib/libc: version auxiliary libsys.so

We need to use libsys.so.7 so that we can work without /usr and because
we're bound a specific ABI.

Reported by:	jtrc27, kib
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D43772
This commit is contained in:
Brooks Davis 2024-02-07 00:46:38 +00:00
parent 11f9745c5b
commit 57ddfad884

View File

@ -64,7 +64,7 @@ LDFLAGS+= -nodefaultlibs
LIBADD+= compiler_rt
LIBADD+= sys
LDFLAGS+=-Wl,--auxiliary,libsys.so
LDFLAGS+=-Wl,--auxiliary,libsys.so.7
.if ${MK_SSP} != "no" && \
(${LIBC_ARCH} == "i386" || ${LIBC_ARCH:Mpowerpc*} != "")