diff --git a/doxygen.spec b/doxygen.spec index 2858dd6..322c50c 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -55,10 +55,6 @@ 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} \ @@ -68,6 +64,11 @@ sed -i -e "s|-o ../objects/language.o|-fno-merge-constants -fsection-anchors -o %endif --release +# 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 + make %{?_smp_mflags} all make docs