Skip to content

Commit ee1e7ac

Browse files
committed
Add $Config{cppflags} to the gcc incantation.
p4raw-id: //depot/perl@9558
1 parent 5632c35 commit ee1e7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/Errno/Errno_pm.PL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sub process_file {
2929
}
3030
} elsif ($Config{gccversion} ne '') {
3131
# With the -dM option, gcc outputs every #define it finds
32-
unless(open(FH,"$Config{cc} -E -dM $file |")) {
32+
unless(open(FH,"$Config{cc} -E -dM $Config{cppflags} $file |")) {
3333
warn "Cannot open '$file'";
3434
return;
3535
}

0 commit comments

Comments
 (0)