Regexp modifier "r" needs perl 5.14; OpenSSL should build with 5.11, so do not use the "r" shortcut.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22019)
This commit is contained in:
Rainer Jung 2023-09-08 00:27:07 +02:00 committed by Pauli
parent d2873946df
commit d30695ba4d
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@
sub remove_from_flags {
my ($toRemove, $flags) = @_;
return $flags =~ s/$toRemove//r;
$flags =~ s/$toRemove//;
return $flags;
}
my %targets = (