Strip __RCSID() and __SCCSID() strings by default when building libc.
This is in preparation for changes to update the various ID strings in libc's source. CSRG ID strings will use __SCCSID() and there are some existing uses of __RCSID() for NetBSD ID strings already. These are generally under either an explicit #if 0 or an #ifdef LIBC_SCCS so are off by default and this change preserves that existing behavior. Differential Revision: https://reviews.freebsd.org/D15830
This commit is contained in:
parent
a263a0427f
commit
41b9df1648
@ -25,8 +25,10 @@ LIBC_ARCH=${MACHINE_CPUARCH}
|
||||
# excluded as a space-saving measure. To produce a library that does
|
||||
# not contain these strings, add -DSTRIP_FBSDID (see <sys/cdefs.h>) to CFLAGS
|
||||
# below. Note: there are no IDs for syscall stubs whose sources are generated.
|
||||
# To include legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS
|
||||
# to CFLAGS below. -DSYSLIBC_SCCS affects just the system call stubs.
|
||||
# To include legacy CSRG SCCS ID strings, remove -DNO__SCCSID from CFLAGS.
|
||||
# To include RCS ID strings from other BSD projects, remove -DNO__RCSID from CFLAGS.
|
||||
CFLAGS+=-DNO__SCCSID -DNO__RCSID
|
||||
|
||||
LIB=c
|
||||
SHLIB_MAJOR= 7
|
||||
.if ${MK_SSP} != "no"
|
||||
|
Loading…
Reference in New Issue
Block a user