Accepting request 402946 from home:plater

Add conditional for gcc6 flag

OBS-URL: https://build.opensuse.org/request/show/402946
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=26
This commit is contained in:
Dave Plater 2016-06-17 12:32:03 +00:00 committed by Git OBS Bridge
parent f18891f2ca
commit 8eb4287e5f

View File

@ -205,7 +205,9 @@ cp -v %{SOURCE2} .
cp -v %{SOURCE1} .
%build
%if 0%{?suse_version} > 1320
export CFLAGS="-Wno-error=misleading-indentation %{optflags}"
%endif
/bin/sh ./autogen.sh --noconfigure
%configure --disable-static \
--disable-schemas-compile \