aboutsummaryrefslogtreecommitdiffstats
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)
downloadupstream-44f64af73055c209fa95c43138ce75e2572710c4.tar.gz
upstream-44f64af73055c209fa95c43138ce75e2572710c4.tar.bz2
upstream-44f64af73055c209fa95c43138ce75e2572710c4.zip
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 40d15799a8..bc9a9bad51 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)" \