From: Jo-Philipp Wich Date: Thu, 24 May 2012 09:17:27 +0000 (+0000) Subject: util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptset... X-Git-Tag: reboot~13836 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=44f64af73055c209fa95c43138ce75e2572710c4;p=openwrt%2Fstaging%2Fjogo.git util-linux: compile with -fPIC, some users of its libuuid.a require it, e.g. cryptsetup (#11508) SVN-Revision: 31854 --- 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)" \