configure with --disable-werror

There is no problem right now, but in general using -Werror for
distribution builds is a PITA.
This commit is contained in:
David Tardon 2012-09-25 13:40:49 +02:00
parent cdf7bf6ae6
commit a1a4d1313e

View File

@ -33,7 +33,7 @@ Includes and definitions for developing with libwpd.
%setup -q %setup -q
%build %build
%configure --without-docs --disable-static %configure --without-docs --disable-static --disable-werror
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} make %{?_smp_mflags}