Really don't add -isysroot twice.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56815 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer
index 722edc7..60cf11e 100755
--- a/utils/ccc-analyzer
+++ b/utils/ccc-analyzer
@@ -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];