- Add build-blake-3-as-static.patch that builts BLAKE 3 support as static library
into mold. The library is not provided in openSUSE yet. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=96
This commit is contained in:
parent
4a6811b64c
commit
27a0b36e2a
13
build-blake-3-as-static.patch
Normal file
13
build-blake-3-as-static.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/third-party/blake3/c/CMakeLists.txt b/third-party/blake3/c/CMakeLists.txt
|
||||
index 3aa6c15..4790918 100644
|
||||
--- a/third-party/blake3/c/CMakeLists.txt
|
||||
+++ b/third-party/blake3/c/CMakeLists.txt
|
||||
@@ -31,7 +31,7 @@ set(BLAKE3_X86_NAMES i686 x86 X86)
|
||||
set(BLAKE3_ARMv8_NAMES aarch64 AArch64 arm64 ARM64 armv8 armv8a)
|
||||
|
||||
# library target
|
||||
-add_library(blake3
|
||||
+add_library(blake3 STATIC
|
||||
blake3.c
|
||||
blake3_dispatch.c
|
||||
blake3_portable.c
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 26 20:11:13 UTC 2023 - Martin Liška <martin.liska@hey.com>
|
||||
|
||||
- Add build-blake-3-as-static.patch that builts BLAKE 3 support as static library
|
||||
into mold. The library is not provided in openSUSE yet.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 24 17:50:53 UTC 2023 - Martin Liška <martin.liska@hey.com>
|
||||
|
||||
|
@ -24,6 +24,7 @@ License: MIT
|
||||
Group: Development/Tools/Building
|
||||
URL: https://github.com/rui314/mold
|
||||
Source: https://github.com/rui314/mold/archive/v%{version}/mold-%{version}.tar.gz
|
||||
Patch0: build-blake-3-as-static.patch
|
||||
BuildRequires: cmake
|
||||
%if %{suse_version} < 1550
|
||||
BuildRequires: gcc11-c++
|
||||
|
Loading…
x
Reference in New Issue
Block a user