Lines 20-26
if (!$ENV{PERL_CORE}) {
Link Here
|
20 |
$gccver =~ s/\.//g; $gccver =~ s/ .*//; |
20 |
$gccver =~ s/\.//g; $gccver =~ s/ .*//; |
21 |
$gccver .= "0" while length $gccver < 3; |
21 |
$gccver .= "0" while length $gccver < 3; |
22 |
$gccver = 0+$gccver; |
22 |
$gccver = 0+$gccver; |
23 |
$ccflags .= ' -Werror=declaration-after-statement' if $gccver > 412; |
23 |
#$ccflags .= ' -Werror=declaration-after-statement' if $gccver > 412; |
24 |
$ccflags .= ' -Wpointer-sign' if !$Config{d_cplusplus} and $gccver > 400; |
24 |
$ccflags .= ' -Wpointer-sign' if !$Config{d_cplusplus} and $gccver > 400; |
25 |
$ccflags .= ' -fpermissive' if $Config{d_cplusplus}; |
25 |
$ccflags .= ' -fpermissive' if $Config{d_cplusplus}; |
26 |
} |
26 |
} |
Lines 62-68
WriteMakefile(
Link Here
|
62 |
DIST_DEFAULT => 'all tardist', |
62 |
DIST_DEFAULT => 'all tardist', |
63 |
}, |
63 |
}, |
64 |
CCFLAGS => $ccflags, |
64 |
CCFLAGS => $ccflags, |
65 |
INC => '-I' . File::Spec->catfile( '.', 'Encode' ), |
65 |
INC => '-isystem' . File::Spec->catfile( '.', 'Encode' ), |
66 |
LICENSE => 'perl', |
66 |
LICENSE => 'perl', |
67 |
PREREQ_PM => { |
67 |
PREREQ_PM => { |
68 |
Exporter => '5.57', # use Exporter 'import'; |
68 |
Exporter => '5.57', # use Exporter 'import'; |