[Differential] D33594: csu: define STRIP_FBSDID
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Dec 2021 21:38:23 UTC
emaste created this revision. emaste requested review of this revision. REVISION SUMMARY __FBSDID() places the provided string in the output object's .comment section. However, with the transition to Git $FreeBSD$ is no longer expanded and so we emitted a literal $FreeBSD$. $FreeBSD$ will be addressed in a holistic manner in the future, but for now define STRIP_FBSDID to at least avoid having it embedded into everything linked on FreeBSD (via csu). REVISION DETAIL https://reviews.freebsd.org/D33594 AFFECTED FILES lib/csu/Makefile.inc CHANGE DETAILS diff --git a/lib/csu/Makefile.inc b/lib/csu/Makefile.inc --- a/lib/csu/Makefile.inc +++ b/lib/csu/Makefile.inc @@ -19,6 +19,7 @@ ACFLAGS+= -DLOCORE +CFLAGS+= -DSTRIP_FBSDID CFLAGS+= -fno-asynchronous-unwind-tables CFLAGS+= -fno-omit-frame-pointer CFLAGS+= -I${.CURDIR:H}/common \ EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: emaste Cc: freebsd-toolchain-list