From 57ee6d2cf74a2f54bef664ca22ea88a5fcb0ec17 Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Mon, 12 May 2014 17:04:44 +0000 Subject: [PATCH] [scan-build] Pass --sysroot through for both compilation and linking. PR19704 llvm-svn: 208595 --- clang/tools/scan-build/ccc-analyzer | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer index b5445e69edd9..2fdf79b477dc 100755 --- a/clang/tools/scan-build/ccc-analyzer +++ b/clang/tools/scan-build/ccc-analyzer @@ -353,6 +353,7 @@ my %CompilerLinkerOptionMap = ( '-m32' => 0, '-m64' => 0, '-stdlib' => 0, # This is really a 1 argument, but always has '=' + '--sysroot' => 1, '-target' => 1, '-v' => 0, '-mmacosx-version-min' => 0, # This is really a 1 argument, but always has '='