aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/nvram/Makefile')
-rw-r--r--package/nvram/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/nvram/Makefile b/package/nvram/Makefile
index 7e31bcf8bb..ec20de2cb4 100644
--- a/package/nvram/Makefile
+++ b/package/nvram/Makefile
@@ -29,6 +29,8 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)
endef
+TARGET_CFLAGS += $(FPIC)
+
define Build/InstallDev
mkdir -p $(1)/usr/lib
$(CP) $(PKG_BUILD_DIR)/libnvram*.so $(1)/usr/lib/