This commit is for avoiding the build-break due to the gcc 6.0
at Tizen 6.0 by -Wall option.
DO NOT inherite the CFLAGS from the global one of the OBS.
libpciaccess just remain because of the build dependency.
Any binary does not use this package.
Change-Id: I7e4af60af6c1c442c9069ac3dc42442df1cc5250
NOCONFIGURE=1
%autogen
export CFLAGS="$CFLAGS -w"
+export CFLAGS="-O2 -g2 -pipe -w -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -fmessage-length=0 -Wl,--as-needed"
%configure --disable-static \
--with-pciids-path=%{_datadir}/misc --with-zlib
make %{?_smp_mflags}