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=
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to