Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd
*** 17,26 ****
--- 17,27 ----
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
+ # Copyright 2017 Gary Mills
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
NETYPPROG = rpc.ypupdated
*** 53,62 ****
--- 54,66 ----
SRCS = $(OBJS:%.o=%.c)
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-unused-variable
+ # Suppress error: typedef locally defined but not used
+ rpc.ypupdated.o := CERRWARN += -_gcc=-Wno-unused-local-typedefs
+
CLOBBERFILES += ypupdated_prot.h
#conditional assignments
$(INETSVC) := FILEMODE=555