summaryrefslogtreecommitdiff
path: root/usr/src/cmd/oawk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/oawk/Makefile')
-rw-r--r--usr/src/cmd/oawk/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/src/cmd/oawk/Makefile b/usr/src/cmd/oawk/Makefile
index 4ce7950110..1b148cf0de 100644
--- a/usr/src/cmd/oawk/Makefile
+++ b/usr/src/cmd/oawk/Makefile
@@ -20,13 +20,9 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# cmd/oawk/Makefile
-#
include ../Makefile.cmd
@@ -67,6 +63,12 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64
ROOTLINK = $(LINKPROG:%=$(ROOTBIN)/%)
+CERRWARN += -_gcc=-Wno-implicit-function-declaration
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-extra
+CERRWARN += -_gcc=-Wno-parentheses
+
.KEEP_STATE :
all : $(PROG) $(TXTS)