aboutsummaryrefslogtreecommitdiff
path: root/net/olsrd
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2006-04-18 10:40:42 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2006-04-18 10:40:42 +0000
commitde5eb417eff935ba36844b853a736f5c38b543a1 (patch)
treeb7d488808fd0cb508991b95b62ab6d5f74618899 /net/olsrd
parent7fe3fa8eff8bb975ba305139668372a0c8e82949 (diff)
downloadports-de5eb417eff935ba36844b853a736f5c38b543a1.tar.gz
ports-de5eb417eff935ba36844b853a736f5c38b543a1.zip
Notes
Diffstat (limited to 'net/olsrd')
-rw-r--r--net/olsrd/Makefile4
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} ""