mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
csu: define STRIP_FBSDID
__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 at least avoid embedding it into everything linked on FreeBSD (via csu). Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33594
This commit is contained in:
parent
a2c51da658
commit
cb2d135015
|
@ -19,6 +19,7 @@ CRT1OBJS+= crtbrand.o feature_note.o ignore_init_note.o
|
||||||
|
|
||||||
ACFLAGS+= -DLOCORE
|
ACFLAGS+= -DLOCORE
|
||||||
|
|
||||||
|
CFLAGS+= -DSTRIP_FBSDID
|
||||||
CFLAGS+= -fno-asynchronous-unwind-tables
|
CFLAGS+= -fno-asynchronous-unwind-tables
|
||||||
CFLAGS+= -fno-omit-frame-pointer
|
CFLAGS+= -fno-omit-frame-pointer
|
||||||
CFLAGS+= -I${.CURDIR:H}/common \
|
CFLAGS+= -I${.CURDIR:H}/common \
|
||||||
|
|
Loading…
Reference in a new issue