diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2015-10-12 16:15:43 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-10-13 14:04:53 -0400 |
commit | f386742cfb811a9d2c886240e90b1064511b9acf (patch) | |
tree | f9292f797a3526a8ce4ffa2e3e728db67115df4b /Configure | |
parent | 2d2a83543f757cf3a48a1a0e412aee183a6d539b (diff) |
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-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/) |