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

. mainly to keep X working
This commit is contained in:
Ben Gras
2012-02-17 14:43:50 +00:00
parent 96940bcd57
commit 957f4181c0
3 changed files with 12 additions and 1 deletions

6
commands/cpp/cpp.sh Normal file
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