summaryrefslogtreecommitdiff
path: root/glafp-utils
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-05-03 15:50:10 +0000
committersimonmar <unknown>2001-05-03 15:50:10 +0000
commitfe3c002f88d899788a56c06bf3175cf035f4ee5f (patch)
tree2da729aa9c5d1258da76e7ab99173d9381fb998b /glafp-utils
parent4c72f121a7d02b061ce98a995b92255ae91498f4 (diff)
downloadhaskell-fe3c002f88d899788a56c06bf3175cf035f4ee5f.tar.gz
[project @ 2001-05-03 15:50:10 by simonmar]
redirect CPP output to /dev/null; gcc 2.96 seems to behave differently that 2.95 when the -E and -MMD flags are given.
Diffstat (limited to 'glafp-utils')
-rw-r--r--glafp-utils/mkdependC/mkdependC.prl2
1 files changed, 1 insertions, 1 deletions
diff --git a/glafp-utils/mkdependC/mkdependC.prl b/glafp-utils/mkdependC/mkdependC.prl
index d879e7f4f7..d4837e8d1f 100644
--- a/glafp-utils/mkdependC/mkdependC.prl
+++ b/glafp-utils/mkdependC/mkdependC.prl
@@ -163,7 +163,7 @@ sub slurp_file { # follows an example in the `open' item in perl man page
# ${CPP} better be 'gcc -E', or the -x option will fail...
# ..and the -MM & -MMD.
- $result = system("${CPP} -MM -MMD $Include_dirs @Defines -x c $fname");
+ $result = system("${CPP} -MM -MMD $Include_dirs @Defines -x c $fname >/dev/null");
if ($result != 0) {
unlink($tempfile);
exit($result);