diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2012-01-26 22:27:52 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2012-01-26 22:27:52 +0000 |
commit | 1bd91374498ac78e72545f08f4daa6491f9c9d14 (patch) | |
tree | a58d996cd42b326645318954793ad3acb9831274 /lib/Driver/Tools.h | |
parent | 8b30a9379f730875ba8fb2d0fe2d43611e0c20ff (diff) |
Remove the ToolTriple logic in NetBSD, which was completely broken by
the recent refactoring. All interesting NetBSD release have a GNU as
version on i386 that supports --32, so don't bother with the conditional
setting of it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r-- | lib/Driver/Tools.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index b304e9626a..fac524d265 100644 --- a/lib/Driver/Tools.h +++ b/lib/Driver/Tools.h @@ -396,12 +396,10 @@ namespace freebsd { /// netbsd -- Directly call GNU Binutils assembler and linker namespace netbsd { class LLVM_LIBRARY_VISIBILITY Assemble : public Tool { - private: - const llvm::Triple ToolTriple; public: - Assemble(const ToolChain &TC, const llvm::Triple &ToolTriple) - : Tool("netbsd::Assemble", "assembler", TC), ToolTriple(ToolTriple) {} + Assemble(const ToolChain &TC) + : Tool("netbsd::Assemble", "assembler", TC) {} virtual bool hasIntegratedCPP() const { return false; } @@ -412,12 +410,10 @@ namespace netbsd { const char *LinkingOutput) const; }; class LLVM_LIBRARY_VISIBILITY Link : public Tool { - private: - const llvm::Triple ToolTriple; public: - Link(const ToolChain &TC, const llvm::Triple &ToolTriple) - : Tool("netbsd::Link", "linker", TC), ToolTriple(ToolTriple) {} + Link(const ToolChain &TC) + : Tool("netbsd::Link", "linker", TC) {} virtual bool hasIntegratedCPP() const { return false; } |