X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmold.git;a=blobdiff_plain;f=atomic.patch;h=032b2beb9f25860b83e08ae29823d22c8e9fb217;hp=3b6bfbe60ac61ed2a2f662643b044af35dac1518;hb=0a2ebcd;hpb=4f192f39388f71cfa6cfddad0351b999b8af1456 diff --git a/atomic.patch b/atomic.patch index 3b6bfbe..032b2be 100644 --- a/atomic.patch +++ b/atomic.patch @@ -1,9 +1,9 @@ --- mold-1.2.0/Makefile.orig 2022-04-15 11:08:14.000000000 +0200 +++ mold-1.2.0/Makefile 2022-04-18 15:00:15.960428924 +0200 @@ -110,7 +110,7 @@ - # '-latomic' flag is needed building on riscv64 system - # RV32 system doesn't tested yet - # seems like '-atomic' would be better but not working. + + # '-latomic' flag is needed building on riscv64 system. + # Seems like '-atomic' would be better but not working. -ifeq ($(ARCH), riscv64) +ifneq (,$(filter armv6% riscv64, $(ARCH))) MOLD_LDFLAGS += -latomic