diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-04-18 10:40:42 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-04-18 10:40:42 +0000 |
commit | de5eb417eff935ba36844b853a736f5c38b543a1 (patch) | |
tree | b7d488808fd0cb508991b95b62ab6d5f74618899 /net/olsrd | |
parent | Update to 2.2.12.beta. (diff) |
Fix build for amd64 and ia64.
Notified by: pointyhat via kris
Notes
Notes:
svn path=/head/; revision=159863
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} "" |