diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2020-06-10 17:47:51 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2020-06-10 17:47:51 +0000 |
commit | 5c2706eca9a4c4665666bfd8899ae1029eea6dd6 (patch) | |
tree | 1b347f882e096f6adc6ba15a0064fc5264098865 /math | |
parent | 97caf193e3edd7a605bf178236115900049ec535 (diff) | |
download | ports-5c2706eca9a4c4665666bfd8899ae1029eea6dd6.tar.gz ports-5c2706eca9a4c4665666bfd8899ae1029eea6dd6.zip |
math/p5-Math-Pari: Fix build on aarch64
Approved by: portmgr (tier-2 blanket)
Notes
Notes:
svn path=/head/; revision=538416
Diffstat (limited to 'math')
-rw-r--r-- | math/p5-Math-Pari/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile index 215fd6c4bdf1..8f0b18c5aad0 100644 --- a/math/p5-Math-Pari/Makefile +++ b/math/p5-Math-Pari/Makefile @@ -17,7 +17,6 @@ COMMENT= Numerical/scientific/number-theoretic calculations LICENSE= ART10 GPLv1+ LICENSE_COMB= dual -BROKEN_aarch64= fails to link: mp.c:(function pari_kernel_init): can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol 'gpmalloc' defined in init.o .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output .endif @@ -30,6 +29,7 @@ USE_PERL5= configure PARI_WRKSRC= ${WRKDIR}/pari-2.3.5 CFLAGS+= -I${PARI_WRKSRC}/src/headers -I${PARI_WRKSRC}/build +CFLAGS_aarch64= -fPIC CFLAGS_powerpc= -fPIC CFLAGS_powerpc64= -fPIC |