diff options
author | phantom <phantom@FreeBSD.org> | 2003-06-25 23:05:11 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2003-06-25 23:05:11 +0000 |
commit | 3a0952afbd82dda0c03d4f658194fd1503720a44 (patch) | |
tree | c684057a98949a7c28c9b874c69366f41eb14cf7 /usr.bin/locale/Makefile | |
parent | 445694f17f3a6b2909ca0f9fdd8b2d91663feae3 (diff) | |
download | FreeBSD-src-3a0952afbd82dda0c03d4f658194fd1503720a44.zip FreeBSD-src-3a0952afbd82dda0c03d4f658194fd1503720a44.tar.gz |
locale.c:
Use newly added __detect_path_locale() helper to lookup _PathLocale value.
It adds boundary checking for PATH_LOCALE environment variable value and
check for super-user fallback.
Makefile:
Add lib/libc/locale to compiler's include path (for setlocale.h)
Diffstat (limited to 'usr.bin/locale/Makefile')
-rw-r--r-- | usr.bin/locale/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/locale/Makefile b/usr.bin/locale/Makefile index 539fc1f..d7f67e1 100644 --- a/usr.bin/locale/Makefile +++ b/usr.bin/locale/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ PROG = locale +CFLAGS += -I${.CURDIR}/../../lib/libc/locale WARNS ?= 1 .include <bsd.prog.mk> |