diff options
| author | Joerg Sonnenberger <joerg@bec.de> | 2014-08-09 19:01:52 +0000 |
|---|---|---|
| committer | Joerg Sonnenberger <joerg@bec.de> | 2014-08-09 19:01:52 +0000 |
| commit | 17a80e49e7c0d2591ddaa35089e585c845b24c76 (patch) | |
| tree | 4cb9330ccc92132ddd239a6640625d5ef47143fd /clang/lib | |
| parent | 323cea90da2740897d70346a46245d18c7adfbfa (diff) | |
| download | bcm5719-llvm-17a80e49e7c0d2591ddaa35089e585c845b24c76.tar.gz bcm5719-llvm-17a80e49e7c0d2591ddaa35089e585c845b24c76.zip | |
Use the correct fallback directory for EABIHF targets on NetBSD/arm.
From Matt Thomas.
llvm-svn: 215292
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Driver/ToolChains.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/Driver/ToolChains.cpp b/clang/lib/Driver/ToolChains.cpp index 56bf1b4303c..5395b85d88c 100644 --- a/clang/lib/Driver/ToolChains.cpp +++ b/clang/lib/Driver/ToolChains.cpp @@ -2590,11 +2590,13 @@ NetBSD::NetBSD(const Driver &D, const llvm::Triple& Triple, const ArgList &Args) case llvm::Triple::thumbeb: switch (Triple.getEnvironment()) { case llvm::Triple::EABI: - case llvm::Triple::EABIHF: case llvm::Triple::GNUEABI: - case llvm::Triple::GNUEABIHF: getFilePaths().push_back("=/usr/lib/eabi"); break; + case llvm::Triple::EABIHF: + case llvm::Triple::GNUEABIHF: + getFilePaths().push_back("=/usr/lib/eabihf"); + break; default: getFilePaths().push_back("=/usr/lib/oabi"); break; |

