mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-08-14 01:53:41 +08:00
Add linux64-mips64 build support with mips64r2.
This commit is contained in:
@@ -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=)/) {
|
if ($target =~ /linux.*-mips/ && !$disabled{asm} && $user_cflags !~ /-m(ips|arch=)/) {
|
||||||
# minimally required architecture flags for assembly modules
|
# minimally required architecture flags for assembly modules
|
||||||
$config{cflags}="-mips2 $config{cflags}" if ($target =~ /mips32/);
|
$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;
|
my $no_shared_warn=0;
|
||||||
|
|||||||
@@ -620,7 +620,7 @@ int i2d_ECCCIPHERBLOB(ECCCIPHERBLOB *a, unsigned char **pp)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = i2d_SM2CiphertextValue(cv, pp));
|
ret = i2d_SM2CiphertextValue(cv, pp);
|
||||||
SM2CiphertextValue_free(cv);
|
SM2CiphertextValue_free(cv);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user