summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libb64/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libb64/Makefile b/libb64/Makefile
index ae4576d..5c35dd3 100644
--- a/libb64/Makefile
+++ b/libb64/Makefile
@@ -20,6 +20,8 @@ PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk
+EXTRA_CFLAGS += -fPIC
+
define Build/Compile
$(MAKE_VARS) $(MAKE) -C $(PKG_BUILD_DIR)/src $(MAKE_FLAGS)
endef