Changed cpp to cc since cpp is hidden away in /usr/libexec
Reviewed by: Submitted by:
This commit is contained in:
parent
8a342cc412
commit
90b62c4a48
@ -73,9 +73,9 @@ TMP=/tmp/mkdep$$
|
||||
trap 'rm -f $TMP ; exit 1' 1 2 3 13 15
|
||||
|
||||
if [ x$pflag = x ]; then
|
||||
cpp -M $* | sed -e 's; \./; ;g' > $TMP
|
||||
cc -M $* | sed -e 's; \./; ;g' > $TMP
|
||||
else
|
||||
cpp -M $* | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
|
||||
cc -M $* | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
|
||||
fi
|
||||
|
||||
if [ $? != 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user