Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd
*** 16,25 ****
--- 16,26 ----
# fields enclosed by brackets "[]" replaced with your own identifying
# 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.
#
PROG= syslogd
*** 39,48 ****
--- 40,52 ----
CFLAGS += -DNDEBUG
# there's some extra utility code defined but not used.
LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
+ # Suppress error for: prev
+ list.o := CERRWARN += -_gcc=-Wno-unused-but-set-variable
+
VARSYSLOG= syslog
VARAUTHLOG= authlog
ROOTVARLOGD= $(ROOT)/var/log
ROOTETCCONFIG= $(CONFIGFILE:%=$(ROOTETC)/%)