diff --git a/bluez.spec b/bluez.spec index 55c3900d42ecf7fed15f7c29221c3a9255171713..cefc77192c8c9ef97c72e1d66c2c9c984e3710a9 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