summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/lbase64/lbase64.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/lbase64/lbase64.mk b/package/lbase64/lbase64.mk
index fd78a6ccd4..0225fc67c7 100644
--- a/package/lbase64/lbase64.mk
+++ b/package/lbase64/lbase64.mk
@@ -12,7 +12,8 @@ LBASE64_LICENSE_FILES = README
LBASE64_DEPENDENCIES = luainterpreter
define LBASE64_BUILD_CMDS
- $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) so
+ $(MAKE1) $(TARGET_CONFIGURE_OPTS) \
+ CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) so
endef
define LBASE64_INSTALL_TARGET_CMDS
OpenPOWER on IntegriCloud