[PATCH v2] Fix build with --enable-static-nss

Alexey Neyman stilor@att.net
Wed Jan 25 08:46:00 GMT 2017


Hi,

[first version of the patch failed during normal, non-static-nss build]


A build failure was reported in Crosstool-NG when glibc is configured 
with --enable-static-nss: 
https://github.com/crosstool-ng/crosstool-ng/issues/555

The definitions in question are protected by '#ifdef USE_NSCD' while all 
their uses are inside '#ifdef USE_NSCD' blocks which are themselves 
nested inside a '#ifdef SHARED' or '#if !defined DO_STATIC_NSS || 
defined SHARED' block.


Patch attached.

Regards,
Alexey.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-build-with-enable-static-nss.patch
Type: text/x-patch
Size: 1356 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170125/decaba6c/attachment.bin>


More information about the Libc-alpha mailing list