mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-29 22:21:48 +03:00
Remove --enable-obsolete-nsl configure flag
this means that *always* libnsl is only built as shared library for backward compatibility and the NSS modules libnss_nis and libnss_nisplus are not built at all, libnsl's headers aren't installed. This compatibility is kept only for architectures and ABIs that have been added in or before version 2.28. Replacement implementations based on TIRPC, which additionally support IPv6, are available from <https://github.com/thkukuk/>. This change does not affect libnss_compat which does not depended on libnsl since 2.27 and thus can be used without NIS. libnsl code depends on Sun RPC, e.g. on --enable-obsolete-rpc (installed libnsl headers use installed Sun RPC headers), which will be removed in the following commit.
This commit is contained in:
committed by
Florian Weimer
parent
acb527929d
commit
ae7a94e5e3
@ -396,8 +396,7 @@ class Context(object):
|
||||
extra_glibcs=[{'variant': 'disable-multi-arch',
|
||||
'cfg': ['--disable-multi-arch']},
|
||||
{'variant': 'enable-obsolete',
|
||||
'cfg': ['--enable-obsolete-rpc',
|
||||
'--enable-obsolete-nsl']},
|
||||
'cfg': ['--enable-obsolete-rpc']},
|
||||
{'variant': 'static-pie',
|
||||
'cfg': ['--enable-static-pie']},
|
||||
{'variant': 'x32-static-pie',
|
||||
@ -414,8 +413,7 @@ class Context(object):
|
||||
{'variant': 'enable-obsolete',
|
||||
'arch': 'i686',
|
||||
'ccopts': '-m32 -march=i686',
|
||||
'cfg': ['--enable-obsolete-rpc',
|
||||
'--enable-obsolete-nsl']},
|
||||
'cfg': ['--enable-obsolete-rpc']},
|
||||
{'arch': 'i486',
|
||||
'ccopts': '-m32 -march=i486'},
|
||||
{'arch': 'i586',
|
||||
|
Reference in New Issue
Block a user