openssl: fix build for octeon

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-06-02 13:04:32 +08:00
parent 8d858460fe
commit 0c9a28e9e0
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -0,0 +1,11 @@
--- a/Configure
+++ b/Configure
@@ -1244,7 +1244,7 @@ if ($target =~ /^mingw/ && `$config{CC}
}
if ($target =~ /linux.*-mips/ && !$disabled{asm}
- && !grep { $_ =~ /-m(ips|arch=)/ } (@{$config{CFLAGS}})) {
+ && !grep { $_ !~ /-m(ips|arch=)/ } (@{$config{CFLAGS}})) {
# minimally required architecture flags for assembly modules
my $value;
$value = '-mips2' if ($target =~ /mips32/);