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
commit5de1b14ed2b59ba0d4ac86e0cc471b3e582a1baf (patch)
tree43ab304bcfe2291a34c305aed1b54396cf649162 /package/util-linux/Makefile
parent010cd3161d2ac78d908fc733cd0535f39b734ce4 (diff)
downloadupstream-5de1b14ed2b59ba0d4ac86e0cc471b3e582a1baf.tar.gz
upstream-5de1b14ed2b59ba0d4ac86e0cc471b3e582a1baf.tar.bz2
upstream-5de1b14ed2b59ba0d4ac86e0cc471b3e582a1baf.zip
[package] util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31854 3c298f89-4303-0410-b956-a3cf2f4a3e73
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)" \