summaryrefslogtreecommitdiff
path: root/package/luajit/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-27 17:09:28 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-27 17:16:43 +0200
commitb794833c3821e32f446396d75420471d9cf8e09e (patch)
tree79261ca7c0f3d6148543b166c17b1d78d2c95843 /package/luajit/Makefile
parentc3ee0fa28cafa0e569c8c78f5956bf241b512868 (diff)
luajit: add -fPIC
Diffstat (limited to 'package/luajit/Makefile')
-rw-r--r--package/luajit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/luajit/Makefile b/package/luajit/Makefile
index 167121d42..4d1612cd1 100644
--- a/package/luajit/Makefile
+++ b/package/luajit/Makefile
@@ -28,7 +28,7 @@ XAKE_FLAGS+= STATIC_CC="$(TARGET_CC)" \
PREFIX=/usr \
CFLAGS='' \
LDFLAGS='' \
- TARGET_CFLAGS='$(TARGET_CFLAGS)' \
+ TARGET_CFLAGS='$(TARGET_CFLAGS) -fPIC' \
TARGET_LDFLAGS='$(TARGET_LDFLAGS)' \
HOST_CC='$(HOST_CC) -m32' \
HOST_CFLAGS='$(HOST_CFLAGS)' \