diff options
| author | 2016-09-17 22:01:08 +0000 | |
|---|---|---|
| committer | 2016-09-17 22:01:08 +0000 | |
| commit | c63836ad4b5832c83421dddafd183302d226e6a2 (patch) | |
| tree | 78ef3acfafe82a37e7df25e548c21f4ddac6b6c8 /gnu/llvm/tools/clang/lib/Driver/Tools.cpp | |
| parent | backwards if(v6flag); pointed out by naddy (diff) | |
| download | wireguard-openbsd-c63836ad4b5832c83421dddafd183302d226e6a2.tar.xz wireguard-openbsd-c63836ad4b5832c83421dddafd183302d226e6a2.zip | |
For now, force soft-float; our kernel doesn't support saving the FPU state yet.
ok patrick@
Diffstat (limited to 'gnu/llvm/tools/clang/lib/Driver/Tools.cpp')
| -rw-r--r-- | gnu/llvm/tools/clang/lib/Driver/Tools.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/llvm/tools/clang/lib/Driver/Tools.cpp b/gnu/llvm/tools/clang/lib/Driver/Tools.cpp index 284de004973..81bd5da9276 100644 --- a/gnu/llvm/tools/clang/lib/Driver/Tools.cpp +++ b/gnu/llvm/tools/clang/lib/Driver/Tools.cpp @@ -721,6 +721,10 @@ arm::FloatABI arm::getARMFloatABI(const ToolChain &TC, const ArgList &Args) { } break; + case llvm::Triple::OpenBSD: + ABI = FloatABI::Soft; + break; + default: switch (Triple.getEnvironment()) { case llvm::Triple::GNUEABIHF: |
