- add -fPIC for amd64 and ia64 to fix 'gprel relocation against dynamic symbol'

Noticed by:	kris
This commit is contained in:
Yen-Ming Lee 2006-01-08 14:06:39 +00:00
parent 0d1d93265a
commit 0c418ebb33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153075

View file

@ -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>