From 44f64af73055c209fa95c43138ce75e2572710c4 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Thu, 24 May 2012 09:17:27 +0000
Subject: [PATCH] util-linux: compile with -fPIC, some users of its libuuid.a
 require it, e.g. cryptsetup (#11508)

SVN-Revision: 31854
---
 package/util-linux/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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)" \
-- 
2.30.2