diff --git a/libreoffice.spec b/libreoffice.spec index c7a5cd0..5aa9097 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1045,7 +1045,7 @@ export PATH=$QT4DIR/bin:$PATH #use the RPM_OPT_FLAGS but remove the OOo overridden ones for i in $RPM_OPT_FLAGS; do case "$i" in - -pipe|-Wall|-g|-fexceptions) continue;; + -pipe|-Wall|-Werror*|-g|-fexceptions) continue;; esac ARCH_FLAGS="$ARCH_FLAGS $i" done