From 4bd094a3de28b811b46fe0dc220ddc9f173bd6d3 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 19 Sep 2007 02:54:56 +0000 Subject: [PATCH] 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 --- src/util/depfix.pl | 1 + 1 file changed, 1 insertion(+) 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/\\$/) { -- 2.26.2