diff options
| author | Douglas Katzman <dougk@google.com> | 2016-05-09 19:09:59 +0000 |
|---|---|---|
| committer | Douglas Katzman <dougk@google.com> | 2016-05-09 19:09:59 +0000 |
| commit | 5eddc2395bb09292c8edc3b5831bb5e127cd56cf (patch) | |
| tree | db379ff034c84d3e01954c34bbd134d31c2b1f27 /clang/lib | |
| parent | 86098ab10b3180a09762266d1f3046eb6f336137 (diff) | |
| download | bcm5719-llvm-5eddc2395bb09292c8edc3b5831bb5e127cd56cf.tar.gz bcm5719-llvm-5eddc2395bb09292c8edc3b5831bb5e127cd56cf.zip | |
[Myriad] Use Generic_ELF::addClangTargetOptions()
llvm-svn: 268956
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Driver/ToolChains.cpp | 2 | ||||
| -rw-r--r-- | clang/lib/Driver/ToolChains.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 14b5381f08e..b114ede653d 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/lib/Driver/ToolChains.cpp @@ -4401,7 +4401,7 @@ void XCoreToolChain::AddCXXStdlibLibArgs(const ArgList &Args, MyriadToolChain::MyriadToolChain(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) - : Generic_GCC(D, Triple, Args) { + : Generic_ELF(D, Triple, Args) { // If a target of 'sparc-myriad-elf' is specified to clang, it wants to use // 'sparc-myriad--elf' (note the unknown OS) as the canonical triple. // This won't work to find gcc. Instead we give the installation detector an diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h index 9a08d8e7d5f..307b2e95d17 100644 --- a/clang/lib/Driver/ToolChains.h +++ b/clang/lib/Driver/ToolChains.h @@ -1093,7 +1093,7 @@ public: /// MyriadToolChain - A tool chain using either clang or the external compiler /// installed by the Movidius SDK to perform all subcommands. -class LLVM_LIBRARY_VISIBILITY MyriadToolChain : public Generic_GCC { +class LLVM_LIBRARY_VISIBILITY MyriadToolChain : public Generic_ELF { public: MyriadToolChain(const Driver &D, const llvm::Triple &Triple, const llvm::opt::ArgList &Args); |

