aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorlx <lx@FreeBSD.org>2008-08-14 09:13:14 +0800
committerlx <lx@FreeBSD.org>2008-08-14 09:13:14 +0800
commit59193f64e1c0f99af859af7842295cd968f30978 (patch)
treeea3d911dcc67f020fa0d4d3af4e3d994f3f02844 /security
parenta7ec74786c31368c10beaf2c3045ef761b15a0e7 (diff)
downloadfreebsd-ports-gnome-59193f64e1c0f99af859af7842295cd968f30978.tar.gz
freebsd-ports-gnome-59193f64e1c0f99af859af7842295cd968f30978.tar.zst
freebsd-ports-gnome-59193f64e1c0f99af859af7842295cd968f30978.zip
Use -fPIC on amd64.
Submitted by: QA Tindy
Diffstat (limited to 'security')
-rw-r--r--security/samhain/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/samhain/Makefile b/security/samhain/Makefile
index 7ffbb914eb1a..56ea345d7fe5 100644
--- a/security/samhain/Makefile
+++ b/security/samhain/Makefile
@@ -30,6 +30,10 @@ CONFLICTS= samhain-client-2*
.include <bsd.port.pre.mk>
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
.if defined(WITH_GPG)
BUILD_DEPENDS+= gpg:${PORTSDIR}/security/gnupg
.endif