aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-04-18 18:40:42 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-04-18 18:40:42 +0800
commitad8366331f9137fffc32a09f73a6139c155c8f64 (patch)
tree3c2bc9da9de3c2f89522cc7a07abbd2fc422ee3b /net
parent1a5bd99b85d76809bc17fe8262f82ad464fd7668 (diff)
downloadfreebsd-ports-gnome-ad8366331f9137fffc32a09f73a6139c155c8f64.tar.gz
freebsd-ports-gnome-ad8366331f9137fffc32a09f73a6139c155c8f64.tar.zst
freebsd-ports-gnome-ad8366331f9137fffc32a09f73a6139c155c8f64.zip
Fix build for amd64 and ia64.
Notified by: pointyhat via kris
Diffstat (limited to 'net')
-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} ""