diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2016-05-26 21:24:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2016-05-26 21:24:17 +0000 |
commit | 12ea4a66835e2479aa4cfd9302b00bc4a006d085 (patch) | |
tree | 712e4b3d67f3d829148ccc0c0e15af2008fc0ee9 /usr.bin | |
parent | 1084c088e90325ea797433765e4efaabdde96aba (diff) |
Use "cc -E" instead of "cpp". OK deraadt@ natano@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/which/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/which/Makefile b/usr.bin/which/Makefile index 26b1262e66b..c0359e89c59 100644 --- a/usr.bin/which/Makefile +++ b/usr.bin/which/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2013/04/15 16:34:19 guenther Exp $ +# $OpenBSD: Makefile,v 1.9 2016/05/26 21:24:16 millert Exp $ PROG= which MAN= which.1 whereis.1 @@ -7,7 +7,7 @@ LINKS= ${BINDIR}/which ${BINDIR}/whereis check_path_in_man: @echo "Checking path expansion in whereis.1"; \ stdpath=`printf '#include <paths.h>\n_PATH_STDPATH\n' | \ - ${CPP} ${CPPFLAGS} - | \ + ${CC} -E -P ${CPPFLAGS} - | \ sed -n 's/^[ ]*"\(.*\)".*/.D1 \1/p'` ; \ fgrep -xq "$$stdpath" ${.CURDIR}/whereis.1 && { touch $@; exit 0; }; \ echo "Update the expansion of _PATH_STDPATH in ${.CURDIR}/whereis.1"; \ |