r208595 - [scan-build] Pass --sysroot through for both compilation and linking.
Jordan Rose
jordan_rose at apple.com
Mon May 12 10:04:44 PDT 2014
Author: jrose
Date: Mon May 12 12:04:44 2014
New Revision: 208595
URL: http://llvm.org/viewvc/llvm-project?rev=208595&view=rev
Log:
[scan-build] Pass --sysroot through for both compilation and linking.
PR19704
Modified:
cfe/trunk/tools/scan-build/ccc-analyzer
Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=208595&r1=208594&r2=208595&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Mon May 12 12:04:44 2014
@@ -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 '='
More information about the cfe-commits
mailing list