diff options
| author | Jordan Rose <jordan_rose@apple.com> | 2014-05-12 17:04:44 +0000 |
|---|---|---|
| committer | Jordan Rose <jordan_rose@apple.com> | 2014-05-12 17:04:44 +0000 |
| commit | 57ee6d2cf74a2f54bef664ca22ea88a5fcb0ec17 (patch) | |
| tree | 792180397176176ce629b4ae30b4c5d5db0847cd | |
| parent | c0437c77820bc14fbd9c1c5411076d66fcff3bcd (diff) | |
| download | bcm5719-llvm-57ee6d2cf74a2f54bef664ca22ea88a5fcb0ec17.tar.gz bcm5719-llvm-57ee6d2cf74a2f54bef664ca22ea88a5fcb0ec17.zip | |
[scan-build] Pass --sysroot through for both compilation and linking.
PR19704
llvm-svn: 208595
| -rwxr-xr-x | clang/tools/scan-build/ccc-analyzer | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer index b5445e69edd..2fdf79b477d 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 '=' |

