From b4d3aa0b31f32935f42999457895b4356287c288 Mon Sep 17 00:00:00 2001 From: arved Date: Sun, 22 Feb 2004 19:02:10 +0000 Subject: Fix build on AMD64 PR: 63202 Submitted by: Hendrik Scholz --- lang/lua4/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/lua4/Makefile b/lang/lua4/Makefile index 4858e984b33f..c79d286f7b62 100644 --- a/lang/lua4/Makefile +++ b/lang/lua4/Makefile @@ -48,4 +48,8 @@ post-install: @${STRIP_CMD} ${PREFIX}/bin/lua @${STRIP_CMD} ${PREFIX}/bin/luac +.if ${MACHINE_ARCH:L} == "amd64" +CFLAGS+= -fPIC +.endif + .include -- cgit