summaryrefslogtreecommitdiff
path: root/package/util-linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-08 02:52:00 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-08 21:29:40 +0100
commitf687c5b069bce219fab54b18433ff94da6ec3809 (patch)
treeb6b2f9ad0ae27869fb29b9f71267453a6956a75a /package/util-linux
parent0fc2c05139c69ab8acb8fd287214c2a51b3b16e4 (diff)
util-linux: force -fPIC
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'package/util-linux')
-rw-r--r--package/util-linux/Makefile4
1 files changed, 3 insertions, 1 deletions
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 \