Author: bdrewery
Date: Fri May 10 18:09:27 2019
New Revision: 347458
URL: https://svnweb.freebsd.org/changeset/base/347458

Log:
  Fix build race with machine links and genoffset.o.
  
  Generate the ilinks for all dependency objects not just the ones
  in the CLEAN list.
  
  Possibly related to r345351
  
  Reported by:  kmoore
  MFC after:    2 weeks
  X-MFC-with:   r345351
  Sponsored by: Dell EMC Isilon

Modified:
  head/sys/conf/kern.post.mk

Modified: head/sys/conf/kern.post.mk
==============================================================================
--- head/sys/conf/kern.post.mk  Fri May 10 17:31:50 2019        (r347457)
+++ head/sys/conf/kern.post.mk  Fri May 10 18:09:27 2019        (r347458)
@@ -357,7 +357,7 @@ _ILINKS+= x86
 # Ensure that debug info references the path in the source tree.
 .for _link in ${_ILINKS}
 .if !exists(${.OBJDIR}/${_link})
-${SRCS} ${CLEAN:M*.o}: ${_link}
+${SRCS} ${DEPENDOBJS}: ${_link}
 .endif
 .if defined(_MAP_DEBUG_PREFIX)
 .if ${_link} == "machine"
_______________________________________________
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