summaryrefslogtreecommitdiff
path: root/ext/Errno/Errno_pm.PL
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Errno/Errno_pm.PL')
-rw-r--r--ext/Errno/Errno_pm.PL4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
index ac38f39af1..97e0466cb0 100644
--- a/ext/Errno/Errno_pm.PL
+++ b/ext/Errno/Errno_pm.PL
@@ -141,7 +141,9 @@ sub get_files {
$file{$1} = 1;
}
} elsif ($^O eq 'linux' &&
- $Config{gccversion} ne '' # might be using, say, Intel's icc
+ ($Config{gccversion} ne '' &&
+ $Config{gccversion} !~ /intel/i
+ # might be using, say, Intel's icc
) {
# Some Linuxes have weird errno.hs which generate
# no #file or #line directives