summaryrefslogtreecommitdiff
path: root/package/util-linux/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-05-24 09:17:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-05-24 09:17:27 +0000
commit44f64af73055c209fa95c43138ce75e2572710c4 (patch)
tree9c7d4e40021b0629014cc65af35539902e87a9dc /package/util-linux/Makefile
parent166db84309adc99887fdde4fd6acae1f0e70e1ae (diff)
downloadmtk-20170518-44f64af73055c209fa95c43138ce75e2572710c4.zip
mtk-20170518-44f64af73055c209fa95c43138ce75e2572710c4.tar.gz
mtk-20170518-44f64af73055c209fa95c43138ce75e2572710c4.tar.bz2
util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
SVN-Revision: 31854
Diffstat (limited to 'package/util-linux/Makefile')
-rw-r--r--package/util-linux/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index 40d1579..bc9a9ba 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -36,6 +36,8 @@ CONFIGURE_ARGS += \
--disable-nls \
--disable-tls
+TARGET_CFLAGS += $(FPIC)
+
define Build/InstallDev
$(MAKE) -C $(PKG_BUILD_DIR) \
BUILDCC="$(HOSTCC)" \