Print this page
10804 Enable unused warnings outside of uts
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2018 Joyent, Inc.
#
PROMSRCS += \
prom_env.c \
prom_getchar.c \
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2019, Joyent, Inc.
#
PROMSRCS += \
prom_env.c \
prom_getchar.c \
*** 54,63 ****
--- 54,65 ----
$(CTXOFFUSERS) $(CTXOFFUSERS:%.o=%.ln): kmdb_context_off.h
kaif_activate.o kaif_activate.ln := CPPFLAGS += -D_MACHDEP -D_KMEMUSER
+ $(RELEASE_BUILD)kaif.o := CERRWARN += -_gcc=-Wno-unused
+
STANDLIBS += \
../libstandctf/libstandctf.so \
$(SRC)/lib/libumem/$(MACHDIR)/libstandumem.so \
../libstand/libstand.a