diff options
author | Andreas Schwab <schwab@suse.de> | 2018-07-18 17:30:19 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2018-09-24 10:23:10 +0200 |
commit | 462d348caa16843594d8f23170ba7b635d2df220 (patch) | |
tree | 07f64fa4ba62cd684a76b9103a3fb281d73b920b /nis | |
parent | f0458cf4f9ff3d870c43b624e6dccaaf657d5e83 (diff) | |
download | glibc-462d348caa16843594d8f23170ba7b635d2df220.tar.gz glibc-462d348caa16843594d8f23170ba7b635d2df220.tar.xz glibc-462d348caa16843594d8f23170ba7b635d2df220.zip |
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.
Diffstat (limited to 'nis')
-rw-r--r-- | nis/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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 |