From cfba405f456ea14b55291ece9807b27660c9a5ce Mon Sep 17 00:00:00 2001 From: Christoph Erhardt Date: Sun, 4 Sep 2022 22:57:16 +0200 Subject: [PATCH] Bump version to 1.4.2 --- ...stem-compatible-include-path-for-xxhash.h.patch | 14 +++++++------- mold.spec | 6 +++++- sources | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/0001-Use-system-compatible-include-path-for-xxhash.h.patch b/0001-Use-system-compatible-include-path-for-xxhash.h.patch index ec649b8..6f69d9f 100644 --- a/0001-Use-system-compatible-include-path-for-xxhash.h.patch +++ b/0001-Use-system-compatible-include-path-for-xxhash.h.patch @@ -1,5 +1,5 @@ -From 092673cd7b0fe96e4c6f176c9ea35943e44f984e Mon Sep 17 00:00:00 2001 -Message-Id: <092673cd7b0fe96e4c6f176c9ea35943e44f984e.1660813566.git.github@sicherha.de> +From cb62c8b3cc981cbffa3b151d15961573c71fac51 Mon Sep 17 00:00:00 2001 +Message-Id: From: Christoph Erhardt Date: Sat, 6 Aug 2022 09:18:54 +0200 Subject: [PATCH] Use system-compatible include path for `xxhash.h` @@ -14,7 +14,7 @@ not in an `xxhash` subdirectory. Adjust the include path and the 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile -index 1301236c..35e7fe76 100644 +index d3f47801..59943a9c 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,7 @@ CXXFLAGS = -O2 @@ -24,9 +24,9 @@ index 1301236c..35e7fe76 100644 + -Ithird-party -Ithird-party/xxhash \ -DMOLD_VERSION=\"$(VERSION)\" -DLIBDIR="\"$(LIBDIR)\"" - MOLD_LDFLAGS := -pthread -lz -lm -ldl + ifeq ($(OS), OpenBSD) diff --git a/mold.h b/mold.h -index a50127ed..b8df38d3 100644 +index 94ef8226..9f857534 100644 --- a/mold.h +++ b/mold.h @@ -32,7 +32,7 @@ @@ -36,8 +36,8 @@ index a50127ed..b8df38d3 100644 -#include "third-party/xxhash/xxhash.h" +#include - #ifdef _MSC_VER - # define unreachable() __assume(0) + #ifdef NDEBUG + # define unreachable() __builtin_unreachable() -- 2.37.2 diff --git a/mold.spec b/mold.spec index d8568ee..e02a6b3 100644 --- a/mold.spec +++ b/mold.spec @@ -1,5 +1,5 @@ Name: mold -Version: 1.4.1 +Version: 1.4.2 Release: 1%{?dist} Summary: A Modern Linker @@ -104,6 +104,10 @@ fi %{_mandir}/man1/mold.1* %changelog +* Sun Sep 04 2022 Christoph Erhardt - 1.4.2-1 +- Bump version to 1.4.2 +- Refresh patch + * Thu Aug 18 2022 Christoph Erhardt - 1.4.1-1 - Bump version to 1.4.1 (#2119324) - Refresh patch diff --git a/sources b/sources index 0d6ba20..61bc252 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mold-1.4.1.tar.gz) = 304caf4e9d9b24170a9442a84036790407bd02609a5d07c31e5f0f6285128099cbc962571804636a5da55afda59b447c12218f9e4d402fbfa55ebc354814bdda +SHA512 (mold-1.4.2.tar.gz) = 17f543969e53737818b0be563aee39feac672f93e0fd712827523232b64eccb4629f3994c5a90de50b5f761886669e0946a8d463663725e774eb7d352de1ced1