Commit 6376c33
committed
[pacman] 7.0.0-9: Remove -fno-plt on unsupported architectures
LLVM doesn't support -fno-plt on RISC-V and LoongArch and starts
emitting a warning if it's supplied on unsupported targets since LLVM
20, causing various errors when configuring packages. Let's remove the
flag on riscv64 and loongarch64.
As we have started moving to LLVM 20, the problem must be mitigated by
stripping -fno-plt away from CFLAGS/LDFLAGS on riscv64 and loongarch64.
Link: llvm/llvm-project#124081
Reference: eweOS#3594 (comment)1 parent 08539e9 commit 6376c33
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
82 | 90 | | |
83 | 91 | | |
84 | | - | |
85 | | - | |
| 92 | + | |
| 93 | + | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
| |||
0 commit comments