summaryrefslogtreecommitdiffstats
path: root/redland
diff options
context:
space:
mode:
Diffstat (limited to 'redland')
-rw-r--r--redland/raptor/makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk
index c90c1754228b..9143f99d6abb 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