1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/testing/llvm-next/0018-Use-gas-as-clang-gnutools-assembler.patch
2025-04-18 04:00:49 +00:00

11 lines
471 B
Diff

--- a/clang/lib/Driver/ToolChains/Gnu.cpp
+++ b/clang/lib/Driver/ToolChains/Gnu.cpp
@@ -701,7 +701,7 @@ void tools::gnutools::Assembler::ConstructJob(Compilation &C,
llvm::Reloc::Model RelocationModel;
unsigned PICLevel;
bool IsPIE;
- const char *DefaultAssembler = "as";
+ const char *DefaultAssembler = "gas";
// Enforce GNU as on Solaris; the native assembler's input syntax isn't fully
// compatible.
if (getToolChain().getTriple().isOSSolaris())