- set CFLAGS+=-fPIC in CONFIGURE_ENV (tested on pluto1)

Noticed by:	kris
This commit is contained in:
Yen-Ming Lee 2006-01-21 01:59:54 +00:00
parent 352c008816
commit 8bd6265789
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154029

View file

@ -39,7 +39,7 @@ MAN3= Text::BibTeX.3 \
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64" .if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC -fpic CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.post.mk>