From: Jarkko Hietaniemi Date: Thu, 5 Apr 2001 13:00:05 +0000 (+0000) Subject: Add $Config{cppflags} to the gcc incantation. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee1e7ac249666c732bf5c618ad0bc23c4e374bb7;p=p5sagit%2Fp5-mst-13.2.git Add $Config{cppflags} to the gcc incantation. p4raw-id: //depot/perl@9558 --- diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL index 2d5a54b..4a11318 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; }