summaryrefslogtreecommitdiff
path: root/gnu/llvm/tools
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2019-06-26 14:39:13 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2019-06-26 14:39:13 +0000
commita4898e1e285ad685e41ca77c293a39f652dea203 (patch)
tree84209efe8163a235737785ddac4bb228a21dc5c7 /gnu/llvm/tools
parent423e00adfa71769031d075641eada9e62a73ea01 (diff)
In LLVM 8 somebody had the glorious idea to enable the integrated assembler
for OpenBSD sparc64. The problem is that the integrated assembler is not even able to compile the .S files in lib/csu or lib/libc so revert this and use gas again. Fixes build issues with clang on sparc64. Issue identified by jca@ OK deraadt@, patrick@, jca@
Diffstat (limited to 'gnu/llvm/tools')
-rw-r--r--gnu/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp b/gnu/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp
index 2ad45097dce..e4b35890199 100644
--- a/gnu/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/gnu/llvm/tools/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -2512,7 +2512,7 @@ bool Generic_GCC::IsIntegratedAssemblerDefault() const {
case llvm::Triple::sparc:
case llvm::Triple::sparcel:
case llvm::Triple::sparcv9:
- if (getTriple().isOSSolaris() || getTriple().isOSOpenBSD())
+ if (getTriple().isOSSolaris())
return true;
return false;
default: