Print this page
8516 Suppress gcc errors with -Wno- in Makefile for usr/src/cmd

*** 20,29 **** --- 20,30 ---- # # # Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright 2015 RackTop Systems. + # Copyright 2017 Gary Mills # FSTYPE= autofs AUTO= automount MOUNT= mount
*** 96,105 **** --- 97,111 ---- CERRWARN += -_gcc=-Wno-switch CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-function + # Suppress the error for: lp + ns_files.o := CERRWARN += -_gcc=-Wno-unused-but-set-parameter + # Suppress the error for: lastread + autod_nfs.o := CERRWARN += -_gcc=-Wno-unused-but-set-variable + OBJS= $(AUTOOBJS) $(MOUNTOBJS) $(TYPEOBJS) \ $(SHAREOBJS) $(UNSHAREOBJS) AUTOSRCS= automount.c $(COMMON:%.o=%.c) $(FSLIBSRC) MOUNTSRCS= mount.c $(FSLIBSRC)