svn commit: r349069 - head/gnu/lib/csu
Bryan Drewery
bdrewery at FreeBSD.org
Sat Jun 15 17:08:48 UTC 2019
Author: bdrewery
Date: Sat Jun 15 17:08:39 2019
New Revision: 349069
URL: https://svnweb.freebsd.org/changeset/base/349069
Log:
csu: Add proper .depend tracking for each object.
This doesn't appear to have ever worked. After a .depend is generated
there will be duplicate .c dependencies so only use the first one.
MFC after: 2 weeks
Sponsored by: DellEMC
Modified:
head/gnu/lib/csu/Makefile
Modified: head/gnu/lib/csu/Makefile
==============================================================================
--- head/gnu/lib/csu/Makefile Sat Jun 15 17:08:35 2019 (r349068)
+++ head/gnu/lib/csu/Makefile Sat Jun 15 17:08:39 2019 (r349069)
@@ -14,6 +14,7 @@ CCDIR= ${SRCTOP}/gnu/usr.bin/cc
SRCS= crtstuff.c ${COMMONHDRS}
OBJS= crtbegin.o crtend.o crtbeginT.o
SOBJS= crtbeginS.o crtendS.o
+DEPENDOBJS+= ${OBJS} ${SOBJS}
CSTD?= gnu89
CFLAGS+= -DIN_GCC -DHAVE_LD_EH_FRAME_HDR -DDT_CONFIG -D__GLIBC__=3
CFLAGS.gcc+= -finhibit-size-directive -fno-toplevel-reorder
More information about the svn-src-all
mailing list