summaryrefslogtreecommitdiff
path: root/package/util-linux
diff options
context:
space:
mode:
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 \