diff --git a/protobuf.changes b/protobuf.changes index 1dc9707..99ffd20 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 23 09:01:50 UTC 2023 - Martin Liška + +- Enable LTO (boo#1133277). + ------------------------------------------------------------------- Thu Dec 15 16:18:26 UTC 2022 - Dirk Müller diff --git a/protobuf.spec b/protobuf.spec index f35cfa5..8b7cc2e 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -1,7 +1,7 @@ # # spec file for package protobuf # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -179,12 +179,11 @@ sed -i '/google_test_dir/d' python/setup.py sed -i -e '/env python/d' python/google/protobuf/internal/*.py %build -%define _lto_cflags %{nil} autoreconf -fvi %configure \ --disable-static -make %{?_smp_mflags} +%make_build %if %{with java} pushd java @@ -202,7 +201,7 @@ popd %if %{with check} %check -make %{?_smp_mflags} check +%make_build check %endif %install