aboutsummaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2015-10-12 16:15:43 -0400
committerRich Salz <rsalz@openssl.org>2015-10-13 14:04:53 -0400
commitf386742cfb811a9d2c886240e90b1064511b9acf (patch)
treef9292f797a3526a8ce4ffa2e3e728db67115df4b /Configure
parent2d2a83543f757cf3a48a1a0e412aee183a6d539b (diff)
downloadopenssl-f386742cfb811a9d2c886240e90b1064511b9acf.tar.gz
GH429: Add clang to travis
Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index b27795789e..06b2278c16 100755
--- a/Configure
+++ b/Configure
@@ -1640,7 +1640,7 @@ if ($strict_warnings)
my $ecc = $cc;
$ecc = "clang" if `$cc --version 2>&1` =~ /clang/;
my $wopt;
- die "ERROR --strict-warnings requires gcc or clang" unless ($ecc =~ /gcc$/ or $ecc =~ /clang$/);
+ die "ERROR --strict-warnings requires gcc or clang" unless ($ecc =~ /gcc(-\d(\.\d)*)?$/ or $ecc =~ /clang$/);
foreach $wopt (split /\s+/, $gcc_devteam_warn)
{
$cflags .= " $wopt" unless ($cflags =~ /$wopt/)