mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
math/p5-Math-Pari: fix build on powerpc(64) head
powerpc and powerpc64 need -fPIC when using clang 10: ld: error: relocation R_PPC64_TOC16_LO cannot be used against symbol issquarefree; recompile with -fPIC
This commit is contained in:
parent
465fec1163
commit
6f8678f8df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529965
@ -31,6 +31,8 @@ LLD_UNSAFE= yes # lld defaults to -ztext
|
||||
PARI_WRKSRC= ${WRKDIR}/pari-2.3.5
|
||||
|
||||
CFLAGS+= -I${PARI_WRKSRC}/src/headers -I${PARI_WRKSRC}/build
|
||||
CFLAGS_powerpc= -fPIC
|
||||
CFLAGS_powerpc64= -fPIC
|
||||
|
||||
CONFIGURE_ARGS= parilib="-L${PARI_WRKSRC}/build -lpari" \
|
||||
paridir=${PARI_WRKSRC}
|
||||
|
Loading…
Reference in New Issue
Block a user