svn commit: r345594 - head/sys/conf

Mark Johnston markj at FreeBSD.org
Wed Mar 27 19:34:20 UTC 2019


Author: markj
Date: Wed Mar 27 19:34:19 2019
New Revision: 345594
URL: https://svnweb.freebsd.org/changeset/base/345594

Log:
  Stop using -fdebug-prefix-map to map the object directory.
  
  We were doing so as a workaround for the problem addressed by r345593, so
  it's no longer necessary.
  
  Reviewed by:	jhb
  Discussed with:	emaste
  MFC after:	2 weeks
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D19705

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

Modified: head/sys/conf/kern.post.mk
==============================================================================
--- head/sys/conf/kern.post.mk	Wed Mar 27 19:32:21 2019	(r345593)
+++ head/sys/conf/kern.post.mk	Wed Mar 27 19:34:19 2019	(r345594)
@@ -368,11 +368,6 @@ CFLAGS+= -fdebug-prefix-map=./${_link}=${SYSDIR}/${_li
 .endif
 .endfor
 
-.if defined(_MAP_DEBUG_PREFIX)
-# Ensure that DWARF info contains a full path for auto-generated headers.
-CFLAGS+= -fdebug-prefix-map=.=${.OBJDIR}
-.endif
-
 ${_ILINKS}:
 	@case ${.TARGET} in \
 	machine) \

Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk	Wed Mar 27 19:32:21 2019	(r345593)
+++ head/sys/conf/kmod.mk	Wed Mar 27 19:34:19 2019	(r345594)
@@ -302,11 +302,6 @@ CFLAGS+= -fdebug-prefix-map=./${_link}=${SYSDIR}/${_li
 .endif
 .endfor
 
-.if defined(_MAP_DEBUG_PREFIX)
-# Ensure that DWARF info contains a full path for auto-generated headers.
-CFLAGS+= -fdebug-prefix-map=.=${.OBJDIR}
-.endif
-
 .NOPATH: ${_ILINKS}
 
 ${_ILINKS}:


More information about the svn-src-head mailing list