Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd
*** 18,27 ****
--- 18,28 ----
#
# CDDL HEADER END
#
#
+ # Copyright 2017 Gary Mills
# Copyright (c) 2017 Peter Tribble.
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
*** 32,41 ****
--- 33,45 ----
include $(SRC)/cmd/svr4pkg/Makefile.svr4pkg
LDLIBS += -lpkg -ladm -lgen
+ # Suppress errors for: funcSigint funcSighup pls pld
+ lock.o := CERRWARN += -_gcc=-Wno-unused-but-set-variable
+
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTPROG)