Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: lib/Driver/ToolChains.cpp

Issue 946063002: Use seperate usr/lib and usr/include directories for i686-nacl (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Driver/ToolChains.cpp
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
index 8ce3e4ba442d85e196df718daea36a18c584c3cb..342b15c92188d26f705b0751ece7ffb831c94c98 100644
--- a/lib/Driver/ToolChains.cpp
+++ b/lib/Driver/ToolChains.cpp
@@ -2424,7 +2424,7 @@ NaCl_TC::NaCl_TC(const Driver &D, const llvm::Triple &Triple,
switch(Triple.getArch()) {
case llvm::Triple::x86: {
file_paths.push_back(FilePath + "x86_64-nacl/lib32");
- file_paths.push_back(FilePath + "x86_64-nacl/usr/lib32");
+ file_paths.push_back(FilePath + "i686-nacl/usr/lib");
prog_paths.push_back(ProgPath + "x86_64-nacl/bin");
file_paths.push_back(ToolPath + "i686-nacl");
break;
@@ -2471,7 +2471,7 @@ void NaCl_TC::AddClangSystemIncludeArgs(const ArgList &DriverArgs,
if (getTriple().getArch() == llvm::Triple::arm) {
llvm::sys::path::append(P, "arm-nacl/usr/include");
} else if (getTriple().getArch() == llvm::Triple::x86) {
- llvm::sys::path::append(P, "x86_64-nacl/usr/include");
+ llvm::sys::path::append(P, "i686-nacl/usr/include");
} else if (getTriple().getArch() == llvm::Triple::x86_64) {
llvm::sys::path::append(P, "x86_64-nacl/usr/include");
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698