From: Jan Palus Date: Sat, 18 Jun 2022 18:38:40 +0000 (+0200) Subject: up to 1.3.0 X-Git-Tag: auto/th/mold-1.3.0-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmold.git;a=commitdiff_plain;h=0a2ebcd;ds=sidebyside up to 1.3.0 --- 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 diff --git a/mold.spec b/mold.spec index f695c53..31fb14b 100644 --- a/mold.spec +++ b/mold.spec @@ -1,11 +1,11 @@ Summary: mold: A Modern Linker Name: mold -Version: 1.2.1 +Version: 1.3.0 Release: 1 License: GPL v3+ Group: Development/Libraries Source0: https://github.com/rui314/mold/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 69ba53ea65a09354a5cec09d9c574472 +# Source0-md5: f7ed6a7246e6ef945494f51e70072ad4 Patch0: atomic.patch URL: https://github.com/rui314/mold %ifarch %{armv6} riscv64 @@ -14,7 +14,6 @@ BuildRequires: libatomic-devel BuildRequires: libstdc++-devel >= 6:10 BuildRequires: mimalloc-devel >= 1.7 BuildRequires: openssl-devel -BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 2.007 BuildRequires: tbb-devel >= 2021.3.0 BuildRequires: zlib-devel