svn commit: r235720 - head/lib/libc

Gleb Kurtsou gleb at FreeBSD.org
Mon May 21 08:10:43 UTC 2012


Author: gleb
Date: Mon May 21 08:10:42 2012
New Revision: 235720
URL: http://svn.freebsd.org/changeset/base/235720

Log:
  Disable NLS catalog use in libc if built with WITHOUT_NLS option.
  
  Functions affected: strerror, strsignal, gai_strerror.

Modified:
  head/lib/libc/Makefile

Modified: head/lib/libc/Makefile
==============================================================================
--- head/lib/libc/Makefile	Mon May 21 07:52:46 2012	(r235719)
+++ head/lib/libc/Makefile	Mon May 21 08:10:42 2012	(r235720)
@@ -26,7 +26,9 @@ SHLIB_MAJOR= 7
 WARNS?=	2
 CFLAGS+=-I${.CURDIR}/include -I${.CURDIR}/../../include
 CFLAGS+=-I${.CURDIR}/${LIBC_ARCH}
+.if ${MK_NLS} != "no"
 CFLAGS+=-DNLS
+.endif
 CLEANFILES+=tags
 INSTALL_PIC_ARCHIVE=
 PRECIOUSLIB=


More information about the svn-src-all mailing list