diff --git a/libreoffice.spec b/libreoffice.spec index b4173c4..a5c0025 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1026,7 +1026,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 - -O?|-pipe|-Wall|-g|-fexceptions) continue;; + -pipe|-Wall|-g|-fexceptions) continue;; esac ARCH_FLAGS="$ARCH_FLAGS $i" done