diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-12-08 23:54:21 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-12-08 23:54:21 +0000 |
commit | 83de51301aa319e22000d1ef1ea442269f6aa8a1 (patch) | |
tree | 5ba76c3b64c826ead8da8ea7536b947e01514bc9 /clang/lib/Driver/ToolChains.cpp | |
parent | 202cf2f6fc6fdf851f2e9cc4b8d70e5da5bd2d81 (diff) | |
download | bcm5719-llvm-83de51301aa319e22000d1ef1ea442269f6aa8a1.tar.gz bcm5719-llvm-83de51301aa319e22000d1ef1ea442269f6aa8a1.zip |
Misc Minix-specific changes to clang:
. move compiler-rt to a separate directory so the -L argument only includes compiler-rt (thanks joerg)
. build all clang subdirs
. switches the Minix platform to ELF
. normalizes toolchain invocation
Patch by Ben Gras.
llvm-svn: 146206
Diffstat (limited to 'clang/lib/Driver/ToolChains.cpp')
-rw-r--r-- | clang/lib/Driver/ToolChains.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index e1731b8e917..989fe44925f 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/lib/Driver/ToolChains.cpp @@ -1612,11 +1612,9 @@ Tool &NetBSD::SelectTool(const Compilation &C, const JobAction &JA, /// Minix - Minix tool chain which can call as(1) and ld(1) directly. Minix::Minix(const HostInfo &Host, const llvm::Triple& Triple) - : Generic_GCC(Host, Triple) { + : Generic_ELF(Host, Triple) { getFilePaths().push_back(getDriver().Dir + "/../lib"); getFilePaths().push_back("/usr/lib"); - getFilePaths().push_back("/usr/gnu/lib"); - getFilePaths().push_back("/usr/gnu/lib/gcc/i686-pc-minix/4.4.3"); } Tool &Minix::SelectTool(const Compilation &C, const JobAction &JA, |