Set -Wno-error for the GTK2 build to avoid a build failure

epel9
Miro Hrončok 5 years ago
parent 8508f7a524
commit 8172545b5b

@ -122,7 +122,7 @@ autoreconf -vif
mkdir build-gtk2 build-gtk3 mkdir build-gtk2 build-gtk3
pushd build-gtk2 pushd build-gtk2
export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations" export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations -Wno-error"
%configure --with-gtk=2 --enable-gtk-doc --disable-static %configure --with-gtk=2 --enable-gtk-doc --disable-static
# Parallel make, crash the build # Parallel make, crash the build
make -j1 V=1 make -j1 V=1

Loading…
Cancel
Save