Fix build for amd64 and ia64.

Notified by:	pointyhat via kris
This commit is contained in:
Emanuel Haupt 2006-04-18 10:40:42 +00:00
parent 7fe3fa8eff
commit de5eb417ef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159863

View file

@ -43,6 +43,10 @@ MAKE_ARGS+= INSTALL_PREFIX=${PREFIX}
IGNORE= needs ieee80211.h headers
.endif
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
.endif
.if !defined(WITH_MULTI_IF)
pre-everything::
@${ECHO_MSG} ""