aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:39 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:39 +0000
commit35c12dd688ff42c42ea50b09603dceb1313419b6 (patch)
tree4863efccbd0e94fe8cbc9f2ca2a0a7fc456673ce /gnu
parentee4eeb32131c578b56c55efb5840e884ad8b708f (diff)
downloadsrc-35c12dd688ff42c42ea50b09603dceb1313419b6.tar.gz
src-35c12dd688ff42c42ea50b09603dceb1313419b6.zip
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
Notes
Notes: svn path=/head/; revision=349069
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/csu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/csu/Makefile b/gnu/lib/csu/Makefile
index c8dd499d1416..b2aff8e6fba0 100644
--- a/gnu/lib/csu/Makefile
+++ b/gnu/lib/csu/Makefile
@@ -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