diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-11-13 10:40:33 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-11-13 11:27:18 +0100 |
commit | 204f9315310937be7b1ce8b773dbdb200e26ddca (patch) | |
tree | 59c6443ebbcb2af4b05d0c2af069496815effb83 /rules | |
parent | e6f88245b65073bfe9d5eccf22e2a71e40042bfc (diff) | |
download | ptxdist-204f9315310937be7b1ce8b773dbdb200e26ddca.tar.gz ptxdist-204f9315310937be7b1ce8b773dbdb200e26ddca.tar.xz |
lrzsz: avoid libnsl dependency
libnsl is not actually needed on Linux. It's still used if found, so make
sure it is not found. Otherwise it will be required if
TARGET_LINKER_AS_NEEDED is not enabled.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/lrzsz.in | 1 | ||||
-rw-r--r-- | rules/lrzsz.make | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/rules/lrzsz.in b/rules/lrzsz.in index 8c2a61bd4..fc9752908 100644 --- a/rules/lrzsz.in +++ b/rules/lrzsz.in @@ -2,7 +2,6 @@ config LRZSZ tristate prompt "lrzsz" - select LIBC_NSL help lrzsz is a unix communication package providing the XMODEM, YMODEM and ZMODEM file transfer protocols. lrzsz is a heavily diff --git a/rules/lrzsz.make b/rules/lrzsz.make index 6bb31e07f..0cb7077f3 100644 --- a/rules/lrzsz.make +++ b/rules/lrzsz.make @@ -30,14 +30,18 @@ LRZSZ_DIR := $(BUILDDIR)/$(LRZSZ) # Prepare # ---------------------------------------------------------------------------- -LRZSZ_PATH := PATH=$(CROSS_PATH) -LRZSZ_ENV := $(CROSS_ENV) -LRZSZ_ENV += CFLAGS=-Wstrict-prototypes +LRZSZ_CONF_ENV := \ + $(CROSS_ENV) \ + ac_cv_lib_nsl_gethostbyname=no # # autoconf # -LRZSZ_AUTOCONF = $(CROSS_AUTOCONF_USR) +LRZSZ_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-nls \ + --without-included-gettext \ + --without-catgets # ---------------------------------------------------------------------------- # Target-Install |