Fix irix-cc build.
[openssl.git] / crypto / aes / asm / aes-mips.pl
index 1fdc6bf85c95aa7474579f4db4d560389fb27c1a..4de3ee26bb74cf9a53d8dcd714b08b0af543cb39 100644 (file)
@@ -79,7 +79,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";