Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2012 08:10:43 +0000 (UTC)
From:      Gleb Kurtsou <gleb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235720 - head/lib/libc
Message-ID:  <201205210810.q4L8AhmF047296@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205210810.q4L8AhmF047296>