summaryrefslogtreecommitdiff
path: root/usr.bin/addr2line
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-04-18 13:13:59 +0000
committerEd Maste <emaste@FreeBSD.org>2016-04-18 13:13:59 +0000
commitc0e5e7f3d2e1bac7ada43b35843e3a018777854e (patch)
treeb2b7fab482a8b2171347dff667a0bba5cbb0e332 /usr.bin/addr2line
parentf8ee69bf81d37e120b3ca9b04c32110a5e2c43c3 (diff)
downloadsrc-test-c0e5e7f3d2e1bac7ada43b35843e3a018777854e.tar.gz
src-test-c0e5e7f3d2e1bac7ada43b35843e3a018777854e.zip
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
Notes
Notes: svn path=/head/; revision=298204
Diffstat (limited to 'usr.bin/addr2line')
-rw-r--r--usr.bin/addr2line/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/addr2line/Makefile b/usr.bin/addr2line/Makefile
index 918707a7e7e1e..6fe20f30b10c3 100644
--- a/usr.bin/addr2line/Makefile
+++ b/usr.bin/addr2line/Makefile
@@ -2,7 +2,7 @@
.include <src.opts.mk>
-ELFTCDIR= ${.CURDIR}/../../contrib/elftoolchain
+ELFTCDIR= ${.CURDIR:H:H}/contrib/elftoolchain
ADDR2LINEDIR= ${ELFTCDIR}/addr2line
.PATH: ${ADDR2LINEDIR}