projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc7496e
)
[project @ 2002-01-09 10:29:32 by simonmar]
author
simonmar
<unknown>
Wed, 9 Jan 2002 10:29:32 +0000
(10:29 +0000)
committer
simonmar
<unknown>
Wed, 9 Jan 2002 10:29:32 +0000
(10:29 +0000)
Back out previous fix, I've hacked it in a different place which is at
least closer to the source of the problem.
glafp-utils/mkdependC/mkdependC.prl
patch
|
blob
|
history
diff --git
a/glafp-utils/mkdependC/mkdependC.prl
b/glafp-utils/mkdependC/mkdependC.prl
index
2bce81e
..
26ce208
100644
(file)
--- a/
glafp-utils/mkdependC/mkdependC.prl
+++ b/
glafp-utils/mkdependC/mkdependC.prl
@@
-127,15
+127,8
@@
sub mangle_command_line_args {
push(@Src_files, $_);
}
push(@Src_files, $_);
}
- } elsif ($Dashdashes_seen == 1) {
- if ( /^-package-name$/ ) {
- # Skip option argument
- shift(@ARGV);
- } elsif ( /^-/ ) {
- # Ignore unknown option
- } else {
- push(@Src_files,$_);
- }
+ } elsif ($Dashdashes_seen == 1) { # where we ignore unknown options
+ push(@Src_files,$_) if ! /^-/;
}
}
}
}
}
}