Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd
*** 18,27 ****
--- 18,28 ----
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
+ # Copyright 2017 Gary Mills
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
PROG= amt
*** 35,44 ****
--- 36,48 ----
LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
LINTFLAGS64 += -erroff=E_NAME_USED_NOT_DEF2
CERRWARN += -_gcc=-Wno-uninitialized
+ # Suppress errors for: p1 probe
+ amt.o := CERRWARN += -_gcc=-Wno-unused-but-set-variable
+
CLEANFILES += $(PROG) $(OBJS)
.KEEP_STATE:
all: $(PROG)