From d30695ba4de494a8554c05afbfc0f984315a6306 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Fri, 8 Sep 2023 00:27:07 +0200 Subject: Regexp modifier "r" needs perl 5.14; OpenSSL should build with 5.11, so do not use the "r" shortcut. Reviewed-by: Hugo Landau Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/22019) --- Configurations/50-win-hybridcrt.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Configurations') diff --git a/Configurations/50-win-hybridcrt.conf b/Configurations/50-win-hybridcrt.conf index 2ddd25a42a..242583c728 100644 --- a/Configurations/50-win-hybridcrt.conf +++ b/Configurations/50-win-hybridcrt.conf @@ -11,7 +11,8 @@ sub remove_from_flags { my ($toRemove, $flags) = @_; - return $flags =~ s/$toRemove//r; + $flags =~ s/$toRemove//; + return $flags; } my %targets = ( -- cgit v1.2.3