summaryrefslogtreecommitdiff
path: root/lib/librt
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:36:06 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:36:06 +0000
commitbf51ed485e305d3d9703f23bab8b8b6fafdbc7b0 (patch)
tree12f02647fbeebd2d6227e5bdef135e0771350adc /lib/librt
parentd7258acdbda2851d6f360e02431fb71e13905749 (diff)
downloadsrc-test-bf51ed485e305d3d9703f23bab8b8b6fafdbc7b0.tar.gz
src-test-bf51ed485e305d3d9703f23bab8b8b6fafdbc7b0.zip
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This implifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=312484
Diffstat (limited to 'lib/librt')
-rw-r--r--lib/librt/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librt/Makefile b/lib/librt/Makefile
index 560f2af36855c..5417b9ef3bff0 100644
--- a/lib/librt/Makefile
+++ b/lib/librt/Makefile
@@ -5,7 +5,7 @@
PACKAGE=lib${LIB}
LIB=rt
SHLIB_MAJOR= 1
-CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}
+CFLAGS+=-I${SRCTOP}/lib/libc/include -I${.CURDIR}
.ifndef NO_THREAD_STACK_UNWIND
CFLAGS+=-fexceptions
.endif
@@ -18,7 +18,7 @@ SRCS+= aio.c mq.c sigev_thread.c timer.c
PRECIOUSLIB=
-VERSION_DEF=${.CURDIR}/../libc/Versions.def
+VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
SYMBOL_MAPS=${.CURDIR}/Symbol.map
.if ${MK_TESTS} != "no"