Fix the build

This commit is contained in:
Kalev Lember 2021-02-15 22:25:28 +01:00
parent d5160d6482
commit febf1243e6

View File

@ -164,6 +164,10 @@ the functionality of the installed %{name} package.
%prep %prep
%autosetup -n gtk+-%{version} -p1 %autosetup -n gtk+-%{version} -p1
# regenerate for patch3
rm gtk/gtkresources.c
rm testsuite/gtk/gtkresources.c
%build %build
export CFLAGS='-fno-strict-aliasing %optflags' export CFLAGS='-fno-strict-aliasing %optflags'
(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;