[packages/mold] up to 1.3.0
atler
atler at pld-linux.org
Sat Jun 18 20:39:07 CEST 2022
commit 0a2ebcd2e35061f66ae74dee6bfeaaf7f3c104ab
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jun 18 20:38:40 2022 +0200
up to 1.3.0
atomic.patch | 6 +++---
mold.spec | 5 ++---
2 files changed, 5 insertions(+), 6 deletions(-)
---
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
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mold.git/commitdiff/0a2ebcd2e35061f66ae74dee6bfeaaf7f3c104ab
More information about the pld-cvs-commit
mailing list