forked from pool/protobuf
Accepting request 1073919 from home:marxin:branches:devel:tools:building
- Enable LTO (boo#1133277). OBS-URL: https://build.opensuse.org/request/show/1073919 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=141
This commit is contained in:
parent
5087dd2b49
commit
aae9adad64
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 23 09:01:50 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Enable LTO (boo#1133277).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 15 16:18:26 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user