- add -fPIC for amd64 and ia64 to fix 'gprel relocation against dynamic symbol'
Noticed by: kris
This commit is contained in:
parent
0d1d93265a
commit
0c418ebb33
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153075
1 changed files with 7 additions and 1 deletions
|
@ -36,4 +36,10 @@ MAN3= Text::BibTeX.3 \
|
|||
Text::BibTeX::Value.3 \
|
||||
btool_faq.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue