summaryrefslogtreecommitdiff
path: root/usr/src/cmd/localedef/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/localedef/Makefile')
-rw-r--r--usr/src/cmd/localedef/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/cmd/localedef/Makefile b/usr/src/cmd/localedef/Makefile
index 85889634e0..9acfe6dfbf 100644
--- a/usr/src/cmd/localedef/Makefile
+++ b/usr/src/cmd/localedef/Makefile
@@ -27,9 +27,13 @@ HDRS = localedef.h
SRCS = $(OBJS:%.o=%.c)
CPPFLAGS += -I $(SRC)/lib/libc/port/locale
+CERRWARN += -_gcc=-Wno-char-subscripts
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-unused-label
LDLIBS += -lgen
LDLIBS += -lavl
YFLAGS = -d -b parser
+
CLEANFILES = $(OBJS) parser.tab.c parser.tab.h
CLEANFILES += \
UTF-8.cm UTF-8.ct \