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
This commit is contained in:
Mark Johnston 2019-03-27 19:34:19 +00:00
parent 1fc6236006
commit 963ae7a63e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345594
2 changed files with 0 additions and 10 deletions

View File

@ -368,11 +368,6 @@ CFLAGS+= -fdebug-prefix-map=./${_link}=${SYSDIR}/${_link}/include
.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) \

View File

@ -302,11 +302,6 @@ CFLAGS+= -fdebug-prefix-map=./${_link}=${SYSDIR}/${_link}/include
.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}: