summaryrefslogtreecommitdiff
path: root/lib/libcompat
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:52:00 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:52:00 +0000
commit85626903d5ab6acbbf2be678a876b076fa67f064 (patch)
tree32957f57e2d791922c1da624bde22c7e1ea1a56a /lib/libcompat
parentf36f637c6e043349692b2a6bda4a085769510328 (diff)
downloadsrc-test-85626903d5ab6acbbf2be678a876b076fa67f064.tar.gz
src-test-85626903d5ab6acbbf2be678a876b076fa67f064.zip
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=312502
Diffstat (limited to 'lib/libcompat')
-rw-r--r--lib/libcompat/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcompat/Makefile b/lib/libcompat/Makefile
index 0bd47dfce0b28..4961b10af9ac9 100644
--- a/lib/libcompat/Makefile
+++ b/lib/libcompat/Makefile
@@ -3,7 +3,7 @@
PACKAGE=lib${LIB}
LIB= compat
-CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/../libc/locale
+CFLAGS+=-DLIBC_SCCS -DSYSLIBC_SCCS -I${SRCTOP}/lib/libc/locale
NO_PIC=
WARNS?= 0