[Libreoffice-commits] .: redland/raptor

Caolán McNamara caolan at kemper.freedesktop.org
Fri Mar 2 04:40:05 PST 2012


 redland/raptor/makefile.mk |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 9a01995e447dc4c49d76b2d6bcd95b39be6088fa
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Mar 2 12:39:24 2012 +0000

    workaround ld link-time crash on ppc64

diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index c90c175..9143f99 100644
--- a/redland/raptor/makefile.mk
+++ b/redland/raptor/makefile.mk
@@ -130,6 +130,11 @@ CFLAGS:=-O
 .IF "$(COM)"=="C52" && "$(CPU)"=="U"
 CFLAGS+=-m64
 .ENDIF
+#ppc64 ld crashing at link time, throwing a minimal-toc at it to
+#perturb is sufficiently to not crash
+.IF "$(COM)$(OS)$(CPUNAME)" == "GCCLINUXPOWERPC64"
+CFLAGS+=-mminimal-toc
+.ENDIF
 .EXPORT: CFLAGS
 
 # NB: SOLARDIR before SYSBASE, because linux SYSBASE contains obsolete libcrypto


More information about the Libreoffice-commits mailing list