summaryrefslogtreecommitdiffstats
path: root/package/nvram
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-06 22:10:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-06 22:10:29 +0000
commit78202d191b1e0332bd03740e83a3e8c07819810d (patch)
treebc06ccda968103523489e585554a5750bf412657 /package/nvram
parent05e6976da2fd9ee5d91bfe8b1aaa2e803158b03a (diff)
use $(FPIC) in a few places where it matters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12225 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nvram')
-rw-r--r--package/nvram/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/nvram/Makefile b/package/nvram/Makefile
index 7e31bcf8b..ec20de2cb 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/