Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c071ede816 | |||
| 41701b6824 | |||
| ce83cbbd22 |
20
fix-cflags.patch
Normal file
20
fix-cflags.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
--- libb2-0.98.1/configure.orig 2025-10-26 13:27:29.977396010 +0100
|
||||||
|
+++ libb2-0.98.1/configure 2025-10-26 13:31:11.324956073 +0100
|
||||||
|
@@ -12744,7 +12744,7 @@ char x[42U], fodder = 0;if (fodder > -10
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
if ac_fn_c_try_compile "$LINENO"; then :
|
||||||
|
- ax_cv_check_cflags___O3=yes
|
||||||
|
+ ax_cv_check_cflags___O3=no
|
||||||
|
else
|
||||||
|
ax_cv_check_cflags___O3=no
|
||||||
|
fi
|
||||||
|
@@ -12754,7 +12754,7 @@ fi
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___O3" >&5
|
||||||
|
$as_echo "$ax_cv_check_cflags___O3" >&6; }
|
||||||
|
if test x"$ax_cv_check_cflags___O3" = xyes; then :
|
||||||
|
- CFLAGS=-O3
|
||||||
|
+ #CFLAGS=-O3
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 27 10:37:56 UTC 2025 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Add patch to make sure optflags are used:
|
||||||
|
* fix-cflags.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 13 09:02:55 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
|
Wed Mar 13 09:02:55 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libb2
|
# spec file for package libb2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -25,6 +25,7 @@ License: CC0-1.0
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://github.com/BLAKE2/libb2
|
URL: https://github.com/BLAKE2/libb2
|
||||||
Source: https://github.com/BLAKE2/libb2/releases/download/v%{version}/libb2-0.98.1.tar.gz
|
Source: https://github.com/BLAKE2/libb2/releases/download/v%{version}/libb2-0.98.1.tar.gz
|
||||||
|
Patch0: fix-cflags.patch
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,7 +55,7 @@ Requires: %{name}-%{so_suffix} = %{version}-%{release}
|
|||||||
This package contains the development files.
|
This package contains the development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-silent-rules \
|
%configure --disable-silent-rules \
|
||||||
|
|||||||
Reference in New Issue
Block a user