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