[cfe-commits] r56815 - /cfe/trunk/utils/ccc-analyzer
Ted Kremenek
kremenek at apple.com
Mon Sep 29 16:06:09 PDT 2008
Author: kremenek
Date: Mon Sep 29 18:06:09 2008
New Revision: 56815
URL: http://llvm.org/viewvc/llvm-project?rev=56815&view=rev
Log:
Really don't add -isysroot twice.
Modified:
cfe/trunk/utils/ccc-analyzer
Modified: cfe/trunk/utils/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ccc-analyzer?rev=56815&r1=56814&r2=56815&view=diff
==============================================================================
--- cfe/trunk/utils/ccc-analyzer (original)
+++ cfe/trunk/utils/ccc-analyzer Mon Sep 29 18:06:09 2008
@@ -291,9 +291,7 @@
# and the linker.
if (defined $CompilerLinkerOptionMap{$Arg}) {
my $Cnt = $CompilerLinkerOptionMap{$Arg};
- push @CompileOpts,$Arg;
- push @LinkOpts,$Arg;
-
+
# Check if this is an option that should have a unique value, and if so
# determine if the value was checked before.
if ($UniqueOptions{$Arg}) {
@@ -304,6 +302,9 @@
$Uniqued{$Arg} = 1;
}
+ push @CompileOpts,$Arg;
+ push @LinkOpts,$Arg;
+
while ($Cnt > 0) {
++$i; --$Cnt;
push @CompileOpts, $ARGV[$i];
More information about the cfe-commits
mailing list