diff options
author | garga <garga@FreeBSD.org> | 2006-03-31 02:20:39 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-03-31 02:20:39 +0800 |
commit | 7b3d67117a27b7f3d6c992389ef1e566e83b28ec (patch) | |
tree | 9b81d8b32743bfb0fba561228599d98f93a77067 /net | |
parent | 347bcae58365e4607bc326aa67a6817ec97a1f7a (diff) | |
download | freebsd-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/Makefile | 4 |
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 |