Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:05:47 -0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345594 - head/sys/conf
Message-ID:  <201903271934.x2RJYJpI078081@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903271934.x2RJYJpI078081>