diff --git a/doxygen.spec b/doxygen.spec index 72b51aa..2858dd6 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -55,6 +55,11 @@ are used by doxygen. %build unset QTDIR +# workaround for "Error: operand out of range", language.cpp needs to be splitted +%ifarch ppc64 +sed -i -e "s|-o ../objects/language.o|-fno-merge-constants -fsection-anchors -o ../objects/language.o|" +%endif + ./configure \ --prefix %{_prefix} \ --shared \