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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to