Add different libc ldscript: the one without libssp --
we don't have it when MK_SSP==no. This fixes compilation on MIPS. Reviewed by: imp Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D8212
This commit is contained in:
parent
c874ff0f63
commit
32797df534
@ -29,7 +29,11 @@ LIBC_ARCH=${MACHINE_CPUARCH}
|
||||
# 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
|
||||
|
2
lib/libc/libc_nossp.ldscript
Normal file
2
lib/libc/libc_nossp.ldscript
Normal file
@ -0,0 +1,2 @@
|
||||
/* $FreeBSD$ */
|
||||
GROUP ( @@SHLIB@@ @@LIBDIR@@/libc_nonshared.a )
|
Loading…
Reference in New Issue
Block a user