diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index f94f804a29e32ef3d1addd0de310b45e34427dc2..df694f502711c0bfec6b23f132e8da965c933c17 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -491,6 +491,10 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { while ($Cnt > 0) { ++$i; --$Cnt; push @CompileOpts, $ARGV[$i]; } next; } + if ($Arg =~ /-msse.*/) { + push @CompileOpts,$Arg; + next; + } # Options with possible arguments that should pass through to linker. if (defined $LinkerOptionMap{$ArgKey}) {