summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/lua51/Makefile1
-rw-r--r--lang/lua52/Makefile1
-rw-r--r--lang/lua53/Makefile1
3 files changed, 3 insertions, 0 deletions
diff --git a/lang/lua51/Makefile b/lang/lua51/Makefile
index 15404b31d7fe..a2c1140856f0 100644
--- a/lang/lua51/Makefile
+++ b/lang/lua51/Makefile
@@ -52,6 +52,7 @@ LUA_SUBDIR?= lua${PKGNAMESUFFIX}
LUA_INCDIR?= ${LUA_PREFIX}/include/${LUA_SUBDIR}
LUA_LIBDIR?= ${LUA_PREFIX}/lib
+CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_powerpc= -fPIC
diff --git a/lang/lua52/Makefile b/lang/lua52/Makefile
index 516f474e85ea..eff60af9e418 100644
--- a/lang/lua52/Makefile
+++ b/lang/lua52/Makefile
@@ -57,6 +57,7 @@ SUB_LIST= version=${PORTVERSION} \
libdir=${LUA_LIBDIR} \
soname=lua-${LUA_VER}
+CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_powerpc= -fPIC
diff --git a/lang/lua53/Makefile b/lang/lua53/Makefile
index 638b0d5d767e..a07f7fe89304 100644
--- a/lang/lua53/Makefile
+++ b/lang/lua53/Makefile
@@ -57,6 +57,7 @@ SUB_LIST= version=${PORTVERSION} \
libdir=${LUA_LIBDIR} \
soname=lua-${LUA_VER}
+CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
CFLAGS_powerpc= -fPIC