SHA256
1
0
forked from pool/wine

- filter out LTO warnings about our data-only .a files.

OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=653
This commit is contained in:
Marcus Meissner 2019-09-26 07:24:44 +00:00 committed by Git OBS Bridge
parent 28ff9fd8a5
commit ef89e04fd4
3 changed files with 9 additions and 1 deletions

2
wine-rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
# Some of our .a files are data only, rpmlint check does not cover that
addFilter("lto-no-text-in-archive,*\.a$")

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 26 07:24:09 UTC 2019 - Marcus Meissner <meissner@suse.com>
- filter out LTO warnings about our data-only .a files.
-------------------------------------------------------------------
Sat Sep 14 07:04:58 UTC 2019 - Marcus Meissner <meissner@suse.com>

View File

@ -126,6 +126,7 @@ Source3: README.SUSE
Source4: wine.desktop
Source6: wine-msi.desktop
Source5: ubuntuwine.tar.bz2
Source6: wine-rpmlintrc
Source7: baselibs.conf
# SUSE specific patches
# - currently none, but add them here
@ -246,7 +247,7 @@ autoreconf -i -f
# keep just for susepatches with configure changes
#autoconf
#autoheader -I include
CFLAGS="$RPM_OPT_FLAGS -ffat-lto-objects" \
CFLAGS="$RPM_OPT_FLAGS" \
%configure \
--with-x \
%ifarch %{arm}