summaryrefslogtreecommitdiff
path: root/usr/src/lib/libshell
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libshell')
-rw-r--r--usr/src/lib/libshell/Makefile.com12
1 files changed, 10 insertions, 2 deletions
diff --git a/usr/src/lib/libshell/Makefile.com b/usr/src/lib/libshell/Makefile.com
index 32bba5796e..8dd5057867 100644
--- a/usr/src/lib/libshell/Makefile.com
+++ b/usr/src/lib/libshell/Makefile.com
@@ -107,11 +107,11 @@ OBJDIRS = \
PICSDIRS= $(OBJDIRS:%=pics/%)
mkpicdirs:
@mkdir -p $(PICSDIRS)
-
+
# Specify the MACH we currently use to build and test ksh
LIBSHELLMACH= $(TARGETMACH)
LIBSHELLBASE=..
-
+
include ../../Makefile.astmsg
include ../../Makefile.lib
@@ -153,6 +153,14 @@ CFLAGS += \
CFLAGS64 += \
$(ASTCFLAGS64)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-function
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-clobbered
+CERRWARN += -_gcc=-Wno-char-subscripts
+
pics/sh/macro.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
pics/sh/nvdisc.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED