Print this page
6117 Many small bugs prevent a clean build on SPARC

@@ -17,10 +17,11 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 #
+# Copyright 2015 Gary Mills
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 
 PROG=           yacc

@@ -57,20 +58,20 @@
 
 INCLIST=        -I../../include -I../../include/$(MACH)
 CPPFLAGS=       $(INCLIST) $(DEFLIST) $(CPPFLAGS.master)
 LDLIBS=         $(LDLIBS.cmd)
 BUILD.AR=       $(AR) $(ARFLAGS) $@ `$(LORDER) $(OBJS) | $(TSORT)`
-LINTFLAGS=      -amux
+LINTFLAGS=      -nuaxm
+LINTFLAGS64=    -nuaxm -m64
 LINTPOUT=       lint.out
 
 C99MODE= $(C99_ENABLE)
 CFLAGS += $(CCVERBOSE)
 CFLAGS64 += $(CCVERBOSE)
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-uninitialized
 
-$(LINTLIB):=    LINTFLAGS = -nvx
 $(ROOTPROG):= FILEMODE = 0555
 
 ROOTYACCPAR=    $(YACCPAR:%=$(ROOTSHLIBCCS)/%)
 
 ROOTLINTDIR=    $(ROOTLIBDIR)