aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-03-31 02:20:39 +0800
committergarga <garga@FreeBSD.org>2006-03-31 02:20:39 +0800
commit7b3d67117a27b7f3d6c992389ef1e566e83b28ec (patch)
tree9b81d8b32743bfb0fba561228599d98f93a77067 /net
parent347bcae58365e4607bc326aa67a6817ec97a1f7a (diff)
downloadfreebsd-ports-gnome-7b3d67117a27b7f3d6c992389ef1e566e83b28ec.tar.gz
freebsd-ports-gnome-7b3d67117a27b7f3d6c992389ef1e566e83b28ec.tar.zst
freebsd-ports-gnome-7b3d67117a27b7f3d6c992389ef1e566e83b28ec.zip
Fix build on amd64 and ia64 adding -fPIC and -DPIC
Reported by: krismail
Diffstat (limited to 'net')
-rw-r--r--net/hawknl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/hawknl/Makefile b/net/hawknl/Makefile
index dd286fceb1bb..b4719c064063 100644
--- a/net/hawknl/Makefile
+++ b/net/hawknl/Makefile
@@ -31,6 +31,10 @@ OPTIONS= OPTIMIZATION "Enable optimization" off
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+CFLAGS+= -fPIC -DPIC
+.endif
+
.if ${OSVERSION} < 500000
BROKEN= Doesn't build on < 5.x
.endif