/usr/lib/cpp script to invoke clang -E
. mainly to keep X working
This commit is contained in:
parent
96940bcd57
commit
957f4181c0
3 changed files with 12 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
SUBDIR= add_route arp ash at awk \
|
||||
backup badblocks banner basename \
|
||||
btrace cal calendar \
|
||||
cat cawf cd cdprobe checkhier \
|
||||
cat cawf cd cdprobe checkhier cpp \
|
||||
chmod chown chroot ci cksum cleantmp clear cmp co \
|
||||
comm compress cp crc cron crontab cut \
|
||||
dd decomp16 DESCRIBE dev2name devsize df dhcpd \
|
||||
|
|
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
|
Loading…
Reference in a new issue