Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 19,29 ****
# CDDL HEADER END
#
#
# Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
#
! #
# Makefile for fdisk
PROG= fdisk
ROOTFS_PROG= $(PROG)
--- 19,29 ----
# CDDL HEADER END
#
#
# Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
# Makefile for fdisk
PROG= fdisk
ROOTFS_PROG= $(PROG)
*** 32,41 ****
--- 32,44 ----
include ../Makefile.cmd
CPPFLAGS += -D_FILE_OFFSET_BITS=64
+ # not linted
+ SMATCH=off
+
LDLIBS_i386= -lfdisk
LDLIBS_sparc=
LDLIBS += -ladm -lefi $(LDLIBS_$(MACH))
i386_CFLAGS += -D_LARGEFILE64_SOURCE