diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-10 13:41:07 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-10 13:41:07 +0000 |
commit | 8ad4a856d6f6911e6e76a9826ec9b7ba3964bc28 (patch) | |
tree | 6621bb9d78507e3a7892a8b85eb3e2bc4ec1f86d /makedepend.SH | |
parent | e8b5448cbeb856bdce5d0c8ec5689da10b83f8e1 (diff) | |
download | perl-8ad4a856d6f6911e6e76a9826ec9b7ba3964bc28.tar.gz |
If using gcc -B/foo/bar makedepend would give
unnecessary warnings about unused -B/foo/bar.
p4raw-id: //depot/perl@11627
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-x | makedepend.SH | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/makedepend.SH b/makedepend.SH index ec21795429..4ab1ec3809 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -155,11 +155,12 @@ for file in `$cat .clist`; do -e 's|\.c\.c|.c|' $uwinfix | \ $uniq | $sort | $uniq >> .deptmp else - $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c | + $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c 2>&1 | $sed \ -e '1d' \ -e '/^#.*<stdin>/d' \ -e '/^#.*"-"/d' \ + -e '/: file path prefix .* never used$/d' \ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \ -e 's/^[ ]*#[ ]*line/#/' \ -e '/^# *[0-9][0-9]* *[".\/]/!d' \ |