summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}