summaryrefslogtreecommitdiff
path: root/ext/Errno
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-05 13:00:05 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-05 13:00:05 +0000
commitee1e7ac249666c732bf5c618ad0bc23c4e374bb7 (patch)
treecb9e854cbc29627855c6e752464a2a753a3d157e /ext/Errno
parent5632c35018fee9b28187c93658039999a9acd322 (diff)
downloadperl-ee1e7ac249666c732bf5c618ad0bc23c4e374bb7.tar.gz
Add $Config{cppflags} to the gcc incantation.
p4raw-id: //depot/perl@9558
Diffstat (limited to 'ext/Errno')
-rw-r--r--ext/Errno/Errno_pm.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index 2d5a54b081..4a11318daf 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -29,7 +29,7 @@ sub process_file {
}
} elsif ($Config{gccversion} ne '') {
# With the -dM option, gcc outputs every #define it finds
- unless(open(FH,"$Config{cc} -E -dM $file |")) {
+ unless(open(FH,"$Config{cc} -E -dM $Config{cppflags} $file |")) {
warn "Cannot open '$file'";
return;
}