diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-06-19 20:47:24 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2017-06-19 20:47:24 +0000 |
| commit | c99b67a7947ea215f9c1d44ec022680e98920cd1 (patch) | |
| tree | b651dbc9948db013cc06944c3c063e0d1309dc05 /lib/libsysdecode/Makefile | |
| parent | 212e02c8360c9ec101759e2dead7dbc99cfddf67 (diff) | |
Notes
Diffstat (limited to 'lib/libsysdecode/Makefile')
| -rw-r--r-- | lib/libsysdecode/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsysdecode/Makefile b/lib/libsysdecode/Makefile index c094a668219f..9ce166c88641 100644 --- a/lib/libsysdecode/Makefile +++ b/lib/libsysdecode/Makefile @@ -114,7 +114,7 @@ CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}} DEPENDOBJS+= tables.h tables.h: mktables - sh ${.CURDIR}/mktables ${DESTDIR}${INCLUDEDIR} ${.TARGET} + sh ${.CURDIR}/mktables ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} ${.TARGET} # mkioctls runs find(1) for headers so needs to rebuild every time. This used # to be a hack only done in buildworld. @@ -123,7 +123,7 @@ ioctl.c: .PHONY .endif ioctl.c: mkioctls .META env CPP="${CPP}" \ - /bin/sh ${.CURDIR}/mkioctls ${DESTDIR}${INCLUDEDIR} > ${.TARGET} + /bin/sh ${.CURDIR}/mkioctls ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} > ${.TARGET} beforedepend: ioctl.c tables.h |
