diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-04-18 18:40:42 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-04-18 18:40:42 +0800 |
commit | ad8366331f9137fffc32a09f73a6139c155c8f64 (patch) | |
tree | 3c2bc9da9de3c2f89522cc7a07abbd2fc422ee3b /net/olsrd | |
parent | 1a5bd99b85d76809bc17fe8262f82ad464fd7668 (diff) | |
download | freebsd-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/olsrd')
-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} "" |