From 2f32c1e1d93eecad0269cb22fc15e77a64835910 Mon Sep 17 00:00:00 2001 From: gc-taifu Date: Fri, 18 Apr 2025 14:29:19 +0800 Subject: [PATCH] Fix build failure --- bluez.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bluez.spec b/bluez.spec index 55c3900..cefc771 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %bcond_with deprecated Name: bluez @@ -138,6 +138,9 @@ Doc files for Bluetooth applications %autosetup -p1 %build +# https://github.com/bluez/bluez/issues/726 +# Workaround the check failure by disable lto settings by OpenAnolis +export CFLAGS=`echo $CFLAGS|sed 's/-flto=auto//g'` %configure --enable-tools \ --enable-library \ --enable-external-ell \ @@ -319,6 +322,9 @@ install emulator/btvirt %{buildroot}/%{_libexecdir}/bluetooth/ %doc ChangeLog AUTHORS %changelog +* Fri Apr 18 2025 Chang Gao - 5.71-2 +- Workaround the test failure by disable lto in CFLAGS. + * Mon Dec 18 2023 Funda Wang - 5.71-1 - New version 5.71 - Install default input.conf/network.conf -- Gitee