From f4eedc6b8c8773817aee4a0424179660710446bf Mon Sep 17 00:00:00 2001 From: Daniel Dragan Date: Sun, 12 Oct 2014 03:42:38 -0400 Subject: speed up building with less disk IO pod moves+__END__+misc In Cwd.pm, dont search for pwd on Win32. Also trim down the list of makefile suffixes on Win32 so it doesn't try searching for av.pas and perl.f90 and hash.cbl on disk. Add __END__ tokens to stop the last read() call on the handle which returns 0 bytes at EOF. --- write_buildcustomize.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'write_buildcustomize.pl') diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl index ccef6ea08b..57a547c562 100644 --- a/write_buildcustomize.pl +++ b/write_buildcustomize.pl @@ -80,6 +80,7 @@ print $fh <<"EOT" or $error = "Can't print to $file: $!"; ${\($^O eq 'MSWin32' ? '${^WIN32_SLOPPY_STAT} = 1;':'')} splice(\@INC, 0, 1, $inc); \$^O = '$osname'; +__END__ EOT if ($error) { -- cgit v1.2.1