]> git.pld-linux.org Git - packages/mold.git/blame - atomic.patch
link with libatomic on %{armv6}
[packages/mold.git] / atomic.patch
CommitLineData
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 @@
4 # '-latomic' flag is needed building on riscv64 system
5 # RV32 system doesn't tested yet
6 # seems like '-atomic' would be better but not working.
7-ifeq ($(ARCH), riscv64)
8+ifneq (,$(filter armv6% riscv64, $(ARCH)))
9 MOLD_LDFLAGS += -latomic
10 endif
11
This page took 0.04008 seconds and 4 git commands to generate.