diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-02 12:39:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-02 12:39:35 +0000 |
commit | 9a01995e447dc4c49d76b2d6bcd95b39be6088fa (patch) | |
tree | 96eb25aa2eec6ab0da68061e549a40b023715215 /redland/raptor | |
parent | 77901e53ecd99aed59e5c8697461ab4d241388a4 (diff) |
workaround ld link-time crash on ppc64
Diffstat (limited to 'redland/raptor')
-rw-r--r-- | redland/raptor/makefile.mk | 5 |
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 |