/usr/lib/cpp script to invoke clang -E
. mainly to keep X working
This commit is contained in:
5
commands/cpp/Makefile
Normal file
5
commands/cpp/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
SCRIPTS= cpp.sh
|
||||
BINDIR= /usr/lib
|
||||
MAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
6
commands/cpp/cpp.sh
Normal file
6
commands/cpp/cpp.sh
Normal 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
|
||||
Reference in New Issue
Block a user