The branch OpenSSL_1_0_2-stable has been updated
via a89dda8cd024f53cbae75655e9ec000d9b4a320b (commit)
from fdbe4a3fa669166efaec0d963e4216233368a7d9 (commit)
- Log -----------------------------------------------------------------
commit a89dda8cd024f53cbae75655e9ec000d9b4a320b
Author: Richard Levitte <[email protected]>
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 <[email protected]>
(cherry picked from commit 6703c4ea87b30554283deaa5df1f8d68725d3ee4)
-----------------------------------------------------------------------
Summary of changes:
Configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Configure b/Configure
index e374a69..ac86cd6 100755
--- a/Configure
+++ b/Configure
@@ -1656,13 +1656,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