From 35c12dd688ff42c42ea50b09603dceb1313419b6 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sat, 15 Jun 2019 17:08:39 +0000 Subject: 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 --- gnu/lib/csu/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu') 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 -- cgit v1.2.3