Hi Nico,

On Sun, May 20, 2012 at 05:45:21AM +0200, acrux wrote:
> I've now performed a successfully linux build on both ppc and ppc64.
> http://cruxppc.org/viewvc/opt/branches/2.7/openoffice/

Congratulations! :)

> 
> I hope that 3.4.1 release could also fix these points:
> 1) --disable-online-update configure feature should not break the build
> process ;

Fixed with http://svn.apache.org/viewvc?view=revision&revision=1340619

> 2) there is a nice -DPOWERPC (defined in
> main/solenv/inc/unxlngppc64.mk) that could be used to solve the
> - -mminimal-toc -fno-optimize-siblig-calls cxxflags issue on ppc64.

I didn't notice we have CFLAGSCXX+=-mminimal-toc in solenv/inc/unxlngppc64.mk
This is then an issue with the new build environment based on GNU Make.
Can you test if the attached patch works?


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina
diff --git a/solenv/gbuild/platform/linux.mk b/solenv/gbuild/platform/linux.mk
index ed74e12..d5a2e60 100644
--- a/solenv/gbuild/platform/linux.mk
+++ b/solenv/gbuild/platform/linux.mk
@@ -98,6 +98,10 @@ gb_CXXFLAGS := \
        -fvisibility=hidden \
        -pipe \
 
+ifeq ($(CPUNAME), POWERPC64)
+gb_CXXFLAGS += -mminimal-toc
+endif
+
 ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE)
 gb_CFLAGS_WERROR := -Werror
 gb_CXXFLAGS_WERROR := -Werror

Attachment: pgpmvON2OlEio.pgp
Description: PGP signature

Reply via email to