aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mkcsmapper
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
committerWarner Losh <imp@FreeBSD.org>2017-03-12 18:58:44 +0000
commita35f04fba2ebb8f86d4cbdc710c89a094572b08e (patch)
tree6d7834512c1ccea38c53d829131105485c884751 /usr.bin/mkcsmapper
parente3f87f6c705552b9aaf2cc10ec687f330c0ebe6a (diff)
Notes
Diffstat (limited to 'usr.bin/mkcsmapper')
-rw-r--r--usr.bin/mkcsmapper/Makefile4
-rw-r--r--usr.bin/mkcsmapper/Makefile.inc6
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mkcsmapper/Makefile b/usr.bin/mkcsmapper/Makefile
index 6dbb0ecbfff1b..5d5e8b560bbf8 100644
--- a/usr.bin/mkcsmapper/Makefile
+++ b/usr.bin/mkcsmapper/Makefile
@@ -1,9 +1,9 @@
# $FreeBSD$
-.PATH: ${.CURDIR}/../../lib/libc/iconv
+.PATH: ${SRCTOP}/lib/libc/iconv
PROG= mkcsmapper
-LDFLAGS+= -L${.CURDIR}/../../lib/libc
+LDFLAGS+= -L${SRCTOP}/lib/libc
NO_WMISSING_VARIABLE_DECLARATIONS=
diff --git a/usr.bin/mkcsmapper/Makefile.inc b/usr.bin/mkcsmapper/Makefile.inc
index 5a4cc6faa5ab2..1c744a7bb9213 100644
--- a/usr.bin/mkcsmapper/Makefile.inc
+++ b/usr.bin/mkcsmapper/Makefile.inc
@@ -3,7 +3,7 @@
.include <bsd.compiler.mk>
SRCS+= lex.l yacc.y
-CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../mkcsmapper \
- -I${.CURDIR}/../../lib/libc/iconv \
- -I${.CURDIR}/../../lib/libiconv_modules/mapper_std
+CFLAGS+= -I${.CURDIR} -I${SRCTOP}/usr.bin/mkcsmapper \
+ -I${SRCTOP}/lib/libc/iconv \
+ -I${SRCTOP}/lib/libiconv_modules/mapper_std
CFLAGS.gcc+= --param max-inline-insns-single=64