summaryrefslogtreecommitdiffstats
path: root/lib/libelf
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-04-18 13:13:59 +0000
committeremaste <emaste@FreeBSD.org>2016-04-18 13:13:59 +0000
commit60b9a1732824c56bf505a3a813256b4bc8034845 (patch)
treeb2b7fab482a8b2171347dff667a0bba5cbb0e332 /lib/libelf
parent20ff6f85018a001538b2869d32474b5c1b42cd53 (diff)
downloadFreeBSD-src-60b9a1732824c56bf505a3a813256b4bc8034845.zip
FreeBSD-src-60b9a1732824c56bf505a3a813256b4bc8034845.tar.gz
Replace ${CURDIR}/../.. with ${CURDIR:H:H} in elftoolchain
This produces a nicer path in debug info and build logs. MFC after: 1 week Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libelf')
-rw-r--r--lib/libelf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/Makefile b/lib/libelf/Makefile
index 70d9e9b..fc956bf 100644
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -5,7 +5,7 @@ SHLIBDIR?= /lib
.include <bsd.own.mk>
-TOP= ${.CURDIR}/../../contrib/elftoolchain
+TOP= ${.CURDIR:H:H}/contrib/elftoolchain
SRCDIR= ${TOP}/libelf
.PATH: ${SRCDIR}
OpenPOWER on IntegriCloud