Add -fPIC to CFLAGS (for ia64). Since `irrlicht' is a port that consists of

a shared library only (and a few header files, of course), it's ok to do it
in the ports Makefile.

Reported by:	pointyhat via kris
This commit is contained in:
Simon Barner 2005-11-07 19:47:21 +00:00
parent 1ef7a5cb79
commit b80fce117f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147518

View File

@ -32,7 +32,7 @@ EXAMPLEDIRS= 01.HelloWorld 02.Quake3Map 03.CustomSceneNode 04.Movement 05.UserIn
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
.if (${ARCH} == amd64) || (${ARCH} == ia64)
CFLAGS+= -fPIC
.endif