]>
Commit | Line | Data |
---|---|---|
4f192f39 JP |
1 | --- mold-1.2.0/Makefile.orig 2022-04-15 11:08:14.000000000 +0200 |
2 | +++ mold-1.2.0/Makefile 2022-04-18 15:00:15.960428924 +0200 | |
3 | @@ -110,7 +110,7 @@ | |
0a2ebcd2 JP |
4 | |
5 | # '-latomic' flag is needed building on riscv64 system. | |
6 | # Seems like '-atomic' would be better but not working. | |
4f192f39 JP |
7 | -ifeq ($(ARCH), riscv64) |
8 | +ifneq (,$(filter armv6% riscv64, $(ARCH))) | |
9 | MOLD_LDFLAGS += -latomic | |
10 | endif | |
11 |