!7 修改由于gcc升级导致编译失败问题。

From: @liheavy
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-02 01:57:43 +00:00 committed by Gitee
commit 524798e975

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 \