This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The compilation of PerlIO::via may hang on AIX when
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 17 Oct 2003 07:29:10 +0000 (07:29 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Fri, 17 Oct 2003 07:29:10 +0000 (07:29 +0000)
compiling with vac at -O3 optimization level. Disable
optimization for this module.

p4raw-id: //depot/perl@21472

MANIFEST
ext/PerlIO/via/hints/aix.pl [new file with mode: 0644]

index 6d27169..031a711 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -576,6 +576,7 @@ ext/PerlIO/t/via.t          See if PerlIO::via works
 ext/PerlIO/via/Makefile.PL     PerlIO layer for layers in perl
 ext/PerlIO/via/via.pm          PerlIO layer for layers in perl
 ext/PerlIO/via/via.xs          PerlIO layer for layers in perl
+ext/PerlIO/via/hints/aix.pl    Hint for PerlIO::via for named architecture
 ext/POSIX/hints/bsdos.pl       Hint for POSIX for named architecture
 ext/POSIX/hints/dynixptx.pl    Hint for POSIX for named architecture
 ext/POSIX/hints/freebsd.pl     Hint for POSIX for named architecture
diff --git a/ext/PerlIO/via/hints/aix.pl b/ext/PerlIO/via/hints/aix.pl
new file mode 100644 (file)
index 0000000..960a8fd
--- /dev/null
@@ -0,0 +1,2 @@
+# compilation may hang at -O3 level
+$self->{OPTIMIZE} = '-O';