Author: arichardson
Date: Tue Jul  2 22:11:07 2019
New Revision: 349615
URL: https://svnweb.freebsd.org/changeset/base/349615

Log:
  Fix build race when building rtld
  
  I found this on one of the CheriBSD Jenkins builders. Using
  beforelinking instead of ${PROG} should fix the dependency for the
  DEBUG_FILES case.
  
  Reviewed by:  brooks

Modified:
  head/libexec/rtld-elf/rtld-libc/Makefile.inc

Modified: head/libexec/rtld-elf/rtld-libc/Makefile.inc
==============================================================================
--- head/libexec/rtld-elf/rtld-libc/Makefile.inc        Tue Jul  2 21:03:06 
2019        (r349614)
+++ head/libexec/rtld-elf/rtld-libc/Makefile.inc        Tue Jul  2 22:11:07 
2019        (r349615)
@@ -98,4 +98,4 @@ rtld_libc.a: ${LIBC_NOSSP_PIC} ${SRCTOP}/libexec/rtld-
        ${AR} cr ${.OBJDIR}/${.TARGET} ${_rtld_libc_objs}
 CLEANFILES+=rtld_libc.a
 LDADD+=${.OBJDIR}/rtld_libc.a
-${PROG}: rtld_libc.a
+beforelinking: rtld_libc.a
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to