summaryrefslogtreecommitdiff
path: root/package/nvram
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-06 22:10:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-06 22:10:29 +0000
commite9ea28b0af50ffbcd96639040b6fac539d9b6f3b (patch)
tree2316dcfe92c81751c2b68974e24e6ae7c0b1bafc /package/nvram
parent14ac8769b2833e62eea2248296bc60e536aefe00 (diff)
downloadmtk-20170518-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.zip
mtk-20170518-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.gz
mtk-20170518-e9ea28b0af50ffbcd96639040b6fac539d9b6f3b.tar.bz2
use $(FPIC) in a few places where it matters
SVN-Revision: 12225
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 7e31bcf..ec20de2 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/