Add linux64-mips64 build support with mips64r2.

This commit is contained in:
Wang Qing
2018-11-27 15:29:46 +08:00
committed by Simon
parent 9fe7aa1280
commit a29d5bd436
2 changed files with 2 additions and 2 deletions

View File

@@ -1062,7 +1062,7 @@ if ($target =~ /^mingw/ && `$target{cc} --target-help 2>&1` =~ m/-mno-cygwin/m)
if ($target =~ /linux.*-mips/ && !$disabled{asm} && $user_cflags !~ /-m(ips|arch=)/) {
# minimally required architecture flags for assembly modules
$config{cflags}="-mips2 $config{cflags}" if ($target =~ /mips32/);
$config{cflags}="-mips3 $config{cflags}" if ($target =~ /mips64/);
$config{cflags}="-mips64r2 $config{cflags}" if ($target =~ /mips64/);
}
my $no_shared_warn=0;

View File

@@ -620,7 +620,7 @@ int i2d_ECCCIPHERBLOB(ECCCIPHERBLOB *a, unsigned char **pp)
return 0;
}
ret = i2d_SM2CiphertextValue(cv, pp));
ret = i2d_SM2CiphertextValue(cv, pp);
SM2CiphertextValue_free(cv);
return ret;
}