aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lua
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-23 02:25:19 +0800
committerarved <arved@FreeBSD.org>2004-02-23 02:25:19 +0800
commit6c4edcc59c495e662f24f1cb22628036bef2f769 (patch)
tree86f074075f13ee486e9d8a8d9e551929e122db33 /lang/lua
parentd691c8dda3a4318cb529353243d52ba36186b94a (diff)
downloadfreebsd-ports-gnome-6c4edcc59c495e662f24f1cb22628036bef2f769.tar.gz
freebsd-ports-gnome-6c4edcc59c495e662f24f1cb22628036bef2f769.tar.zst
freebsd-ports-gnome-6c4edcc59c495e662f24f1cb22628036bef2f769.zip
Fix build on AMD64
PR: 63203 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'lang/lua')
-rw-r--r--lang/lua/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index 3c611d766248..7112759cb487 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -44,4 +44,8 @@ post-install:
@cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.gif ${DOCSDIR}
.endif
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
.include <bsd.port.mk>