summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-09-23 13:23:52 +0000
committerEd Maste <emaste@FreeBSD.org>2016-09-23 13:23:52 +0000
commitd7e002ff9609cd8b0f7943ca236c689fbe00c76c (patch)
tree4785d9d5761e8cf3d68ad1c769d3c71ee8f5cf9c /lib/libcompiler_rt
parent93cdeb4aec73678ed85788124ff41ca7586a215a (diff)
downloadsrc-test-d7e002ff9609cd8b0f7943ca236c689fbe00c76c.tar.gz
src-test-d7e002ff9609cd8b0f7943ca236c689fbe00c76c.zip
libcompiler_rt: use ${SRCTOP} for the top of the FreeBSD tree
Notes
Notes: svn path=/head/; revision=306266
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile
index 011bead3995ff..88c250ebcaa3b 100644
--- a/lib/libcompiler_rt/Makefile
+++ b/lib/libcompiler_rt/Makefile
@@ -8,7 +8,7 @@ NO_PIC=
WARNS?= 2
CFLAGS+=${PICFLAG} -fvisibility=hidden -DVISIBILITY_HIDDEN
-CFLAGS+=-I${.CURDIR}/../../contrib/libcxxrt
+CFLAGS+=-I${SRCTOP}/contrib/libcxxrt
.if ${MACHINE_CPUARCH} == "amd64"
CRTARCH=x86_64
@@ -16,7 +16,7 @@ CRTARCH=x86_64
CRTARCH=${MACHINE_CPUARCH}
.endif
-CRTSRC=${.CURDIR}/../../contrib/compiler-rt/lib/builtins
+CRTSRC=${SRCTOP}/contrib/compiler-rt/lib/builtins
.PATH: ${CRTSRC}/${CRTARCH} ${CRTSRC}