Path += getToolChainDir();
getProgramPaths().push_back(Path);
+ Path = getHost().getDriver().Dir;
+ Path += "/../libexec";
+ getProgramPaths().push_back(Path);
+
getProgramPaths().push_back(getHost().getDriver().Dir);
}
const char *Platform, const char *OS)
: ToolChain(Host, Arch, Platform, OS)
{
+ std::string Path(getHost().getDriver().Dir);
+ Path += "/../libexec";
+ getProgramPaths().push_back(Path);
+
getProgramPaths().push_back(getHost().getDriver().Dir);
}
self.getToolChainDir()))
self.programPathPrefixes.append(os.path.join('/usr/libexec/gcc',
self.getToolChainDir()))
+ self.programPathPrefixes.append(os.path.join(self.driver.driverDir,
+ '../libexec'))
self.programPathPrefixes.append(self.driver.driverDir)
def getToolChainDir(self):
Phases.AssemblePhase : Tools.GCC_AssembleTool(self),
Phases.LinkPhase : Tools.GCC_LinkTool(self),
}
+ self.programPathPrefixes.append(os.path.join(self.driver.driverDir,
+ '../libexec'))
self.programPathPrefixes.append(self.driver.driverDir)
def selectTool(self, action):
clangFrontend.a clangAST.a clangParse.a clangLex.a \
clangBasic.a
+# clang-cc lives in a special location; we can get away with this
+# because nothing else gets installed from here.
+PROJ_bindir := $(DESTDIR)$(PROJ_prefix)/libexec
+
include $(LLVM_SRC_ROOT)/Makefile.rules