The branch OpenSSL_1_0_1-stable has been updated via c8cc43108d97517dfce25a114acd5651f5548cd5 (commit) from 1fe1c65c3ba96dd89e6c805331204428a27d4b6c (commit)
- Log ----------------------------------------------------------------- commit c8cc43108d97517dfce25a114acd5651f5548cd5 Author: Richard Levitte <levi...@openssl.org> Date: Mon Nov 9 09:50:56 2015 +0100 Make the match for previous cflags a bit more strict ./Configure [target] --strict-warnings -Wno-pedantic-ms-format would not add '-pedantic' because it matches '-Wno-pedantic-ms-format', which was added first. Reviewed-by: Matt Caswell <m...@openssl.org> (cherry picked from commit 6703c4ea87b30554283deaa5df1f8d68725d3ee4) ----------------------------------------------------------------------- Summary of changes: Configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Configure b/Configure index c9dedcd..fdf8d9a 100755 --- a/Configure +++ b/Configure @@ -1584,13 +1584,13 @@ if ($strict_warnings) die "ERROR --strict-warnings requires gcc or clang" unless ($ecc =~ /gcc$/ or $ecc =~ /clang$/); foreach $wopt (split /\s+/, $gcc_devteam_warn) { - $cflags .= " $wopt" unless ($cflags =~ /$wopt/) + $cflags .= " $wopt" unless ($cflags =~ /(^|\s)$wopt(\s|$)/) } if ($ecc eq "clang") { foreach $wopt (split /\s+/, $clang_devteam_warn) { - $cflags .= " $wopt" unless ($cflags =~ /$wopt/) + $cflags .= " $wopt" unless ($cflags =~ /(^|\s)$wopt(\s|$)/) } } } _____ openssl-commits mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits