Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd
@@ -17,10 +17,11 @@
# 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.
#
TESTPROG = gssdtest
@@ -73,10 +74,13 @@
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+# Suppress error: typedef locally defined but not used
+gssd_proc.o := CERRWARN += -_gcc=-Wno-unused-local-typedefs
+
LDLIBS += -lgss -lnsl
gssd := MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
gssd := LDFLAGS += $(MAPFILES:%=-M%)