Print this page
11506 smatch resync
*** 20,30 ****
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # cmd/ls/Makefile.com
#
PROG= ls
XPG4PROG= ls
XPG6PROG= ls
--- 20,30 ----
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2019 Joyent, Inc.
#
PROG= ls
XPG4PROG= ls
XPG6PROG= ls
*** 41,58 ****
$(XPG6) := CFLAGS += -DXPG4 -DXPG6
$(XPG6) := CFLAGS64 += -DXPG4 -DXPG6
CFLAGS64 += $(CCVERBOSE)
CPPFLAGS += -D_FILE_OFFSET_BITS=64
- LINTFLAGS64 += -errchk=longptr64
.KEEP_STATE:
all: $(PROG) $(XPG4) $(XPG6)
- lint: lint_SRCS
-
clean:
$(RM) $(CLEANFILES)
include ../../Makefile.targ
--- 41,58 ----
$(XPG6) := CFLAGS += -DXPG4 -DXPG6
$(XPG6) := CFLAGS64 += -DXPG4 -DXPG6
CFLAGS64 += $(CCVERBOSE)
CPPFLAGS += -D_FILE_OFFSET_BITS=64
+ # main() can be too hairy
+ SMATCH=off
+
.KEEP_STATE:
all: $(PROG) $(XPG4) $(XPG6)
clean:
$(RM) $(CLEANFILES)
include ../../Makefile.targ