Print this page
8626 make pcplusmp and apix warning-free
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
*** 22,32 ****
# uts/i86pc/pcplusmp/Makefile
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2016, Joyent, Inc.
#
#
# This makefile drives the production of the pcplusmp "mach"
# kernel module.
--- 22,32 ----
# uts/i86pc/pcplusmp/Makefile
#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2017, Joyent, Inc.
#
#
# This makefile drives the production of the pcplusmp "mach"
# kernel module.
*** 65,89 ****
#
# Depends on ACPI CA interpreter
#
LDFLAGS += -dy -N misc/acpica
- CERRWARN += -_gcc=-Wno-unused-function
-
#
- # For now, disable these lint checks; maintainers should endeavor
- # to investigate and remove these for maximum lint coverage.
- # Please do not carry these forward to new Makefiles.
- #
- LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
- LINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
- LINTTAGS += -erroff=E_STATIC_UNUSED
- LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
-
- CERRWARN += -_gcc=-Wno-uninitialized
-
- #
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
--- 65,75 ----