fix complication failed due to gcc upgrade

This commit is contained in:
liheavy 2021-07-31 17:34:11 +08:00
parent 327d4b0481
commit 5a57499534

View File

@ -28,7 +28,7 @@ This is Vinagre, a remote desktop viewer for the GNOME Desktop.
%build %build
ACLOCAL_FLAGS="$ACLOCAL_FLAGS" USE_GNOME2_MACROS=1 . gnome-autogen.sh ACLOCAL_FLAGS="$ACLOCAL_FLAGS" USE_GNOME2_MACROS=1 . gnome-autogen.sh
export CFLAGS="%{optflags} -Wno-deprecated-declarations -Wno-format-nonliteral" export CFLAGS="%{optflags} -Wno-deprecated-declarations -Wno-format-nonliteral -fcommon"
%configure \ %configure \
%ifarch %{ix86} x86_64 %ifarch %{ix86} x86_64
--enable-spice \ --enable-spice \