summaryrefslogtreecommitdiffstats
path: root/package/util-linux
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-24 09:17:27 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-24 09:17:27 +0000
commite4591208740d934c4fa753c5ef4e4bdbbf2f6243 (patch)
tree43ab304bcfe2291a34c305aed1b54396cf649162 /package/util-linux
parentd6429431316037f91a9ac244ecf39e51e18e8451 (diff)
[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')
-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 40d15799a..bc9a9bad5 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)" \