Mercurial > illumos > illumos-gate
changeset 12002:3c072fe23c9b
6933958 Makefile.$(MACH) sets incorrect LINTFLAGS
Contributed by Steven Stallion
author | Steven Stallion <sstallion@opensolaris.org> |
---|---|
date | Thu, 25 Mar 2010 22:28:16 -0700 |
parents | ae8584566c0b |
children | f4f295b632a5 |
files | usr/src/uts/intel/Makefile.intel usr/src/uts/sparc/Makefile.sparc |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/intel/Makefile.intel Fri Mar 26 12:16:16 2010 +0800 +++ b/usr/src/uts/intel/Makefile.intel Thu Mar 25 22:28:16 2010 -0700 @@ -20,7 +20,7 @@ # # -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -33,4 +33,4 @@ # for the lint builds so as not to cause lint errors during the # global cross check. # -LINTFLAGS += -D_MACHDEP -I../../i86pc +LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/i86pc
--- a/usr/src/uts/sparc/Makefile.sparc Fri Mar 26 12:16:16 2010 +0800 +++ b/usr/src/uts/sparc/Makefile.sparc Thu Mar 25 22:28:16 2010 -0700 @@ -19,7 +19,7 @@ # # -# Copyright 2008 Sun Microsystems, Inc. All rights reserved. +# Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # @@ -32,5 +32,5 @@ # for the lint builds so as not to cause lint errors during the # global cross check. # -$(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I../../sun4 -I../../sun4u \ - -I../../sfmmu +$(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/sun4 \ + -I$(UTSBASE)/sun4u -I$(UTSBASE)/sfmmu