From 462d348caa16843594d8f23170ba7b635d2df220 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 18 Jul 2018 17:30:19 +0200 Subject: Don't build libnsl for new ABIs For architectures and ABIs that are added in version 2.29 or later the option --enable-obsolete-nsl is no longer available, and no libnsl compatibility library is built. --- nis/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nis') diff --git a/nis/Makefile b/nis/Makefile index d77c6e0c8e..7849eb77c3 100644 --- a/nis/Makefile +++ b/nis/Makefile @@ -22,6 +22,14 @@ subdir := nis include ../Makeconfig +ifndef have-GLIBC_2.28 + +ifeq ($(build-obsolete-nsl),yes) +$(error --enabe-obsolete-nsl is not available) +endif + +else + ifeq ($(build-obsolete-nsl),yes) headers := $(wildcard rpcsvc/*.[hx]) @@ -80,6 +88,8 @@ libnsl-inhibit-o = $(filter-out .os,$(object-suffixes)) endif # not $(build-obsolete-nsl) +endif # have-GLIBC_2.28 + include ../Rules -- cgit v1.2.1