From owner-svn-src-all@freebsd.org Tue Jul 3 16:45:50 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BC521030A13; Tue, 3 Jul 2018 16:45:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6C08B49D; Tue, 3 Jul 2018 16:45:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2B3C21EB37; Tue, 3 Jul 2018 16:45:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w63GjoSp069109; Tue, 3 Jul 2018 16:45:50 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w63Gjoo5069108; Tue, 3 Jul 2018 16:45:50 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201807031645.w63Gjoo5069108@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Tue, 3 Jul 2018 16:45:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335897 - head/lib/libc X-SVN-Group: head X-SVN-Commit-Author: jhb X-SVN-Commit-Paths: head/lib/libc X-SVN-Commit-Revision: 335897 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2018 16:45:50 -0000 Author: jhb Date: Tue Jul 3 16:45:49 2018 New Revision: 335897 URL: https://svnweb.freebsd.org/changeset/base/335897 Log: 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 Modified: head/lib/libc/Makefile Modified: head/lib/libc/Makefile ============================================================================== --- head/lib/libc/Makefile Tue Jul 3 16:17:59 2018 (r335896) +++ head/lib/libc/Makefile Tue Jul 3 16:45:49 2018 (r335897) @@ -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 ) 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"