summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-03-25 13:16:41 +0100
committerKarel Kočí <karel.koci@nic.cz>2019-03-25 13:16:41 +0100
commitb4674e89fffdedc702c823dec173490807e13953 (patch)
tree8a6c9d9c38f0c84001a3eb19e1218b567e2e113e
parent3be0cce50b3f8442c96478952842f86f47b68b7b (diff)
downloadopenwrt-personal-pkgs-b4674e89fffdedc702c823dec173490807e13953.tar.gz
openwrt-personal-pkgs-b4674e89fffdedc702c823dec173490807e13953.tar.bz2
openwrt-personal-pkgs-b4674e89fffdedc702c823dec173490807e13953.zip
libb64: compile with -fPIC
-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