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. # TESTPROG = gssdtest
*** 73,82 **** --- 74,86 ---- 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%)