aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:04:25 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-20 04:04:25 +0000
commitf623ad832c105e607f2b637d9477bd2e04ab25bd (patch)
treece3f8bf57421cb959c3dda575f9369c644f4785a
parent5695441bc798c0dd1c54181d247ec508c2d01898 (diff)
downloadsrc-f623ad832c105e607f2b637d9477bd2e04ab25bd.tar.gz
src-f623ad832c105e607f2b637d9477bd2e04ab25bd.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=312466
-rw-r--r--lib/libc_nonshared/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc_nonshared/Makefile b/lib/libc_nonshared/Makefile
index db4fb32c7922..261828072e74 100644
--- a/lib/libc_nonshared/Makefile
+++ b/lib/libc_nonshared/Makefile
@@ -6,7 +6,7 @@
# bsd.lib.mk doesn't have an easy way to express that.
MK_PROFILE?=no
.include <src.opts.mk>
-NO_PIC=
+NO_PIC=
# -fpic on some platforms, -fPIC on others.
CFLAGS+=${PICFLAG} -DPIC -fvisibility=hidden
@@ -18,9 +18,9 @@ LIBC_NONSHARED_SRCS=
SRCS= __stub.c
.if ${MK_ICONV} == "yes"
-.PATH: ${.CURDIR}/../libc/iconv
+.PATH: ${SRCTOP}/lib/libc/iconv
.include "Makefile.iconv"
-CFLAGS+=-I${.CURDIR}/../libc/iconv
+CFLAGS+=-I${SRCTOP}/lib/libc/iconv
.endif
SRCS+= ${LIBC_NONSHARED_SRCS}