Page MenuHomeFreeBSD

D25210.diff
No OneTemporary

D25210.diff

Index: head/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
===================================================================
--- head/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
+++ head/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
@@ -426,8 +426,9 @@
if (Args.hasArg(options::OPT_ffixed_x31))
Features.push_back("+reserve-x31");
- // -mrelax is default, unless -mno-relax is specified.
- if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, true))
+ // FreeBSD local, because ld.lld doesn't support relaxations
+ // -mno-relax is default, unless -mrelax is specified.
+ if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, false))
Features.push_back("+relax");
else
Features.push_back("-relax");

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 7:05 AM (3 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14732690
Default Alt Text
D25210.diff (801 B)

Event Timeline