diff options
-rw-r--r-- | net/olsrd/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/olsrd/Makefile b/net/olsrd/Makefile index acf7a0a09f61..1e2f3ed1367d 100644 --- a/net/olsrd/Makefile +++ b/net/olsrd/Makefile @@ -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} "" |