From 26b7892402bf0e4b9910e67f4743d88aaad603af Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Feb 09 2009 13:14:48 +0000 Subject: workaround for "Error: operand out of range", language.cpp needs to be splitted --- 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