3 Commits

Author SHA256 Message Date
c071ede816 Accepting request 1314580 from security
- Add patch to make sure optflags are used:
  * fix-cflags.patch (forwarded request 1313819 from Guillaume_G)

OBS-URL: https://build.opensuse.org/request/show/1314580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libb2?expand=0&rev=2
2025-11-01 22:34:26 +00:00
41701b6824 - Add patch to make sure optflags are used:
* fix-cflags.patch

OBS-URL: https://build.opensuse.org/package/show/security/libb2?expand=0&rev=5
2025-10-30 14:53:24 +00:00
ce83cbbd22 Accepting request 1165649 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Add upstream patch to not override CFLAGS in configure script

OBS-URL: https://build.opensuse.org/request/show/1165649
OBS-URL: https://build.opensuse.org/package/show/security/libb2?expand=0&rev=4
2024-04-11 07:11:36 +00:00
3 changed files with 29 additions and 2 deletions

20
fix-cflags.patch Normal file
View 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

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@ License: CC0-1.0
Group: Development/Libraries/C and C++
URL: https://github.com/BLAKE2/libb2
Source: https://github.com/BLAKE2/libb2/releases/download/v%{version}/libb2-0.98.1.tar.gz
Patch0: fix-cflags.patch
BuildRequires: pkgconfig
%description
@@ -54,7 +55,7 @@ Requires: %{name}-%{so_suffix} = %{version}-%{release}
This package contains the development files.
%prep
%setup -q
%autosetup -p1
%build
%configure --disable-silent-rules \