Disable NLS catalog use in libc if built with WITHOUT_NLS option.

Functions affected: strerror, strsignal, gai_strerror.
This commit is contained in:
Gleb Kurtsou 2012-05-21 08:10:42 +00:00
parent 8b0349c836
commit c7e5232438
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235720

View File

@ -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=