diff options
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | cpan/Digest-SHA/hints/hpux.pl | 13 |
2 files changed, 14 insertions, 0 deletions
@@ -683,6 +683,7 @@ cpan/Digest-MD5/t/md5-aaa.t See if Digest::MD5 extension works cpan/Digest-MD5/t/threads.t See if Digest::MD5 extension works cpan/Digest-MD5/t/utf8.t See if Digest::MD5 extension works cpan/Digest-MD5/typemap Digest::MD5 extension +cpan/Digest-SHA/hints/hpux.pl Hint for HP-UX for named architecture cpan/Digest-SHA/lib/Digest/SHA.pm Digest::SHA extension cpan/Digest-SHA/Makefile.PL Digest::SHA Makefile.PL cpan/Digest-SHA/shasum shasum script diff --git a/cpan/Digest-SHA/hints/hpux.pl b/cpan/Digest-SHA/hints/hpux.pl new file mode 100644 index 0000000000..942f223ba6 --- /dev/null +++ b/cpan/Digest-SHA/hints/hpux.pl @@ -0,0 +1,13 @@ +# With +O2 this HP-UX cc compiler creates code which coredumps (Bus error) +# when running t/woodbury.t, but dropping to +O1 seems to dodge that. +if ($Config{cc} eq 'cc' && + $Config{archname} eq 'PA-RISC2.0' && + $Config{ccversion} =~ /^B\.11\.11\./) { + if (defined $self->{OPTIMIZE}) { + $self->{OPTIMIZE} =~ s/\+O[2-9]/+O1/; + $self->{OPTIMIZE} =~ s/ \+Onolimit//; + } else { + $self->{OPTIMIZE} = '+O1'; + } +} + |