Index: head/lib/libc/Makefile =================================================================== --- head/lib/libc/Makefile +++ head/lib/libc/Makefile @@ -29,7 +29,11 @@ # to CFLAGS below. -DSYSLIBC_SCCS affects just the system call stubs. LIB=c SHLIB_MAJOR= 7 +.if ${MK_SSP} != "no" SHLIB_LDSCRIPT=libc.ldscript +.else +SHLIB_LDSCRIPT=libc_nossp.ldscript +.endif SHLIB_LDSCRIPT_LINKS=libxnet.so WARNS?= 2 CFLAGS+=-I${LIBC_SRCTOP}/include -I${LIBC_SRCTOP}/../../include Index: head/lib/libc/libc_nossp.ldscript =================================================================== --- head/lib/libc/libc_nossp.ldscript +++ head/lib/libc/libc_nossp.ldscript @@ -0,0 +1,2 @@ +/* $FreeBSD$ */ +GROUP ( @@SHLIB@@ @@LIBDIR@@/libc_nonshared.a )