summaryrefslogtreecommitdiffstats
path: root/src/build/trace/tracepp
diff options
context:
space:
mode:
Diffstat (limited to 'src/build/trace/tracepp')
-rwxr-xr-xsrc/build/trace/tracepp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/trace/tracepp b/src/build/trace/tracepp
index dfeda9d55..bc570aeb8 100755
--- a/src/build/trace/tracepp
+++ b/src/build/trace/tracepp
@@ -163,7 +163,7 @@ while(defined($opt = shift @ARGV)) {
# an object or archive, ignore this but give it to cc
push @ccopts, $opt;
print "found object/archive '$opt'\n" if $debug;
- } elsif ($opt =~ m/\.c[xp]*$/i) {
+ } elsif ($opt =~ m/\.c[cxp]*$/i) {
# the source file(s). we should only get one
if (defined $source) {
print STDERR "don't know to handle two source files, aborting\n";
OpenPOWER on IntegriCloud