From 31001c28771829aaac807fdcf416813c73ccea1e Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sun, 21 Oct 2018 14:43:53 +0000 Subject: [PATCH] math/pari: fix build on powerpc64 PR: 232503 Submitted by: Piotr Kubaj --- math/pari/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/pari/Makefile b/math/pari/Makefile index 9f0d93eb70ff..6d1e73762de1 100644 --- a/math/pari/Makefile +++ b/math/pari/Makefile @@ -16,7 +16,6 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_mips64= fails to link: mpker.c:(.text+0x33bc): relocation truncated to fit: R_MIPS_TLS_GD against 'PARI_SIGINT_block' -BROKEN_powerpc64= fails to link: intnum.o: relocation truncated to fit: R_PPC64_GOT_TLSGD16 against symbol 'avma' defined in .tbss section in init.o LIB_DEPENDS= libgmp.so:math/gmp @@ -24,6 +23,7 @@ USES= perl5 readline USE_LDCONFIG= yes USE_PERL5= build HAS_CONFIGURE= yes +CFLAGS_powerpc64= -mminimal-toc CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= --mandir=${MANPREFIX}/man/man1 \ --prefix=${PREFIX} \