summaryrefslogtreecommitdiff
path: root/main/openssl/crypto/sha/asm
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/crypto/sha/asm')
-rw-r--r--main/openssl/crypto/sha/asm/sha1-mips.pl2
-rw-r--r--main/openssl/crypto/sha/asm/sha512-mips.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/openssl/crypto/sha/asm/sha1-mips.pl b/main/openssl/crypto/sha/asm/sha1-mips.pl
index f1a702f3..197bc6b5 100644
--- a/main/openssl/crypto/sha/asm/sha1-mips.pl
+++ b/main/openssl/crypto/sha/asm/sha1-mips.pl
@@ -64,7 +64,7 @@ if ($flavour =~ /64|n32/i) {
#
######################################################################
-$big_endian=(`echo MIPSEL | $ENV{CC} -E -P -`=~/MIPSEL/)?1:0;
+$big_endian=(`echo MIPSEL | $ENV{CC} -E -`=~/MIPSEL/)?1:0 if ($ENV{CC});
for (@ARGV) { $output=$_ if (/^\w[\w\-]*\.\w+$/); }
open STDOUT,">$output";
diff --git a/main/openssl/crypto/sha/asm/sha512-mips.pl b/main/openssl/crypto/sha/asm/sha512-mips.pl
index ffa053bb..6807a2c7 100644
--- a/main/openssl/crypto/sha/asm/sha512-mips.pl
+++ b/main/openssl/crypto/sha/asm/sha512-mips.pl
@@ -68,7 +68,7 @@ $pf = ($flavour =~ /nubi/i) ? $t0 : $t2;
#
######################################################################
-$big_endian=(`echo MIPSEL | $ENV{CC} -E -P -`=~/MIPSEL/)?1:0;
+$big_endian=(`echo MIPSEL | $ENV{CC} -E -`=~/MIPSEL/)?1:0 if ($ENV{CC});
for (@ARGV) { $output=$_ if (/^\w[\w\-]*\.\w+$/); }
open STDOUT,">$output";