]> granicus.if.org Git - clang/commitdiff
[scan-build] Pass --sysroot through for both compilation and linking.
authorJordan Rose <jordan_rose@apple.com>
Mon, 12 May 2014 17:04:44 +0000 (17:04 +0000)
committerJordan Rose <jordan_rose@apple.com>
Mon, 12 May 2014 17:04:44 +0000 (17:04 +0000)
PR19704

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208595 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/ccc-analyzer

index b5445e69edd99ad729c3761079c25c3d6d55cbe5..2fdf79b477dc900d5e39327484faf13bb579040a 100755 (executable)
@@ -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 '='