aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x86_64cpuid.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-06-27 10:08:23 +0000
committerAndy Polyakov <appro@openssl.org>2012-06-27 10:08:23 +0000
commit6251989eb6168c1baada70c5b16c7742861d3d03 (patch)
tree7e69060f23f26b2858777fae307ff95a58cc79a1 /crypto/x86_64cpuid.pl
parentfaee82c1bc24a6a57dcaa1ecb5dbef33217d5a49 (diff)
downloadopenssl-6251989eb6168c1baada70c5b16c7742861d3d03.tar.gz
x86_64 assembly pack: make it possible to compile with Perl located on
path with spaces. PR: 2835
Diffstat (limited to 'crypto/x86_64cpuid.pl')
-rw-r--r--crypto/x86_64cpuid.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x86_64cpuid.pl b/crypto/x86_64cpuid.pl
index 775353e9b9..58c7bab1b6 100644
--- a/crypto/x86_64cpuid.pl
+++ b/crypto/x86_64cpuid.pl
@@ -11,7 +11,7 @@ $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 STDOUT,"| \"$^X\" $xlate $flavour $output";
($arg1,$arg2,$arg3,$arg4)=$win64?("%rcx","%rdx","%r8", "%r9") : # Win64 order
("%rdi","%rsi","%rdx","%rcx"); # Unix order