From 3f233a1e7767c29e668d13155bfed78db4c1437c Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 22 Jan 2013 22:11:31 +0100 Subject: x86_64 assembly pack: make Windows build more robust [from master]. PR: 2963 and a number of others --- crypto/camellia/asm/cmll-x86_64.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crypto/camellia') diff --git a/crypto/camellia/asm/cmll-x86_64.pl b/crypto/camellia/asm/cmll-x86_64.pl index 10e2298288..9f4b82fa48 100644 --- a/crypto/camellia/asm/cmll-x86_64.pl +++ b/crypto/camellia/asm/cmll-x86_64.pl @@ -40,7 +40,8 @@ $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1; ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or die "can't locate x86_64-xlate.pl"; -open STDOUT,"| \"$^X\" $xlate $flavour $output"; +open OUT,"| \"$^X\" $xlate $flavour $output"; +*STDOUT=*OUT; sub hi() { my $r=shift; $r =~ s/%[er]([a-d])x/%\1h/; $r; } sub lo() { my $r=shift; $r =~ s/%[er]([a-d])x/%\1l/; -- cgit v1.2.3