From: jow Date: Thu, 24 May 2012 09:17:27 +0000 (+0000) Subject: [package] util-linux: compile with -fPIC, some users of its libuuid.a require it... X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=e4591208740d934c4fa753c5ef4e4bdbbf2f6243;p=openwrt.git [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 --- 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)" \