From f687c5b069bce219fab54b18433ff94da6ec3809 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 8 Nov 2016 02:52:00 +0100 Subject: util-linux: force -fPIC Signed-off-by: Waldemar Brodkorb --- package/util-linux/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package/util-linux') diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile index d0fd724fd..7deeb0913 100644 --- a/package/util-linux/Makefile +++ b/package/util-linux/Makefile @@ -70,7 +70,8 @@ $(eval $(call PKG_template,LIBMOUNT,libmount,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG TARGET_CFLAGS+= -DSWAPON_HAS_TWO_ARGS -DHAVE_LLSEEK TARGET_LDFLAGS+= -ltinfo -CONFIGURE_ARGS+= --disable-use-tty-group \ +CONFIGURE_ARGS+= --with-pic \ + --disable-use-tty-group \ --disable-chfn-chsh \ --disable-more \ --disable-su \ @@ -98,6 +99,7 @@ ifeq ($(ADK_PACKAGE_FDISK)$(ADK_PACKAGE_AGETTY)$(ADK_PACKAGE_SFDISK)$(ADK_PACKAG CONFIGURE_ARGS+= --disable-all-programs endif +TARGET_CFLAGS+= -fPIC FAKE_FLAGS+= INSTALLSUID="install -m 4755" HOST_CONFIGURE_ARGS+= --enable-libuuid \ --disable-all-programs \ -- cgit v1.2.3