Created
September 19, 2012 17:52
-
-
Save d0k/3751090 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer | |
index 216dc9d..51f5097 100755 | |
--- a/tools/scan-build/ccc-analyzer | |
+++ b/tools/scan-build/ccc-analyzer | |
@@ -569,6 +569,12 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { | |
push @CompileOpts,$Arg; | |
next; | |
} | |
+ | |
+ if ($Arg =~ /^-stdlib=/) { | |
+ push @CompileOpts,$Arg; | |
+ push @LinkOpts,$Arg; | |
+ next; | |
+ } | |
# if ($Arg =~ /^-f/) { | |
# # FIXME: Not sure if the remaining -fxxxx options have no arguments. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment