diff options
author | Andy Polyakov <appro@openssl.org> | 2012-06-27 10:08:23 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-06-27 10:08:23 +0000 |
commit | 6251989eb6168c1baada70c5b16c7742861d3d03 (patch) | |
tree | 7e69060f23f26b2858777fae307ff95a58cc79a1 /crypto/x86_64cpuid.pl | |
parent | faee82c1bc24a6a57dcaa1ecb5dbef33217d5a49 (diff) |
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.pl | 2 |
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 |