/usr/lib/cpp script to invoke clang -E

. mainly to keep X working
This commit is contained in:
Ben Gras
2012-02-17 15:15:31 +00:00
parent 96940bcd57
commit 957f4181c0
3 changed files with 12 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
SCRIPTS= cpp.sh
BINDIR= /usr/lib
MAN=
.include <bsd.prog.mk>
+6
View File
@@ -0,0 +1,6 @@
exec 2>>/cpp.log
set -x
if [ $# -ne 1 ]
then exec /usr/pkg/bin/clang "$@" -E -
else exec /usr/pkg/bin/clang "$@" -E
fi