From: Tom Yu Date: Wed, 19 Sep 2007 02:54:56 +0000 (+0000) Subject: Ignore dependency lines beginning with '#' to deal with gcc X-Git-Tag: krb5-1.7-alpha1~870 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4bd094a3de28b811b46fe0dc220ddc9f173bd6d3;p=krb5.git Ignore dependency lines beginning with '#' to deal with gcc -fworking-directory output during make depend. ticket: 5752 target_version: 1.6.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19961 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/depfix.pl b/src/util/depfix.pl index 473b649bb..dfe774251 100644 --- a/src/util/depfix.pl +++ b/src/util/depfix.pl @@ -214,6 +214,7 @@ my $buf = ''; while () { # Strip newline. chop; + next if /^\s*#/; # Do directory-specific path substitutions on each filename read. $_ = &do_subs($_); if (m/\\$/) {