Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd
*** 21,30 ****
--- 21,31 ----
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ # Copyright 2017 Gary Mills
#
PROG= rpcbind
MANIFEST= bind.xml
SVCMETHOD= rpc-bind
*** 37,46 ****
--- 38,50 ----
SRC1= $(OBJS:%.o=%.c)
SRCS= $(SRC1:selfcheck.c=../fs.d/nfs/lib/selfcheck.c)
include ../Makefile.cmd
+ # Suppress error: typedef locally defined but not used
+ rpcb_svc_com.o := CERRWARN += -_gcc=-Wno-unused-local-typedefs
+
ROOTMANIFESTDIR= $(ROOTSVCNETWORKRPC)
CPPFLAGS= -I. -DPORTMAP $(CPPFLAGS.master)
CPPFLAGS += -D_REENTRANT
$(RELEASE_BUILD)CPPFLAGS += -DNDEBUG