From 2b84dd3d77a6f9ac9cc06bf9685ac8ebcf4ecfe6 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208595 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/scan-build/ccc-analyzer | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index b5445e69ed..2fdf79b477 100755 --- a/tools/scan-build/ccc-analyzer +++ b/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 '=' -- 2.50.1