summaryrefslogtreecommitdiff
path: root/usr/src/stand
diff options
context:
space:
mode:
authorNick Todd <Nick.Todd@Sun.COM>2008-09-25 00:47:48 +0100
committerNick Todd <Nick.Todd@Sun.COM>2008-09-25 00:47:48 +0100
commit0bb073995ac5a95bd35f2dd790df1ea3d8c2d507 (patch)
tree4cdc4878e32f05a6cd7f442e3ca95b793ed823fc /usr/src/stand
parentdb31b05781045982dfb934e7f43742700da320ae (diff)
downloadillumos-joyent-0bb073995ac5a95bd35f2dd790df1ea3d8c2d507.tar.gz
6659940 ON makefiles use wrong options for Sun Studio 12 compiler and lint.
6751897 usr/src/tools/cw.c needs to be updated for Sun Studio 12 switchover.
Diffstat (limited to 'usr/src/stand')
-rw-r--r--usr/src/stand/lib/Makefile.sparc11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/stand/lib/Makefile.sparc b/usr/src/stand/lib/Makefile.sparc
index 814bb21633..ecf73eda5e 100644
--- a/usr/src/stand/lib/Makefile.sparc
+++ b/usr/src/stand/lib/Makefile.sparc
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
@@ -20,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
#
# We only support 64-bit builds on SPARC, so this is simple.
@@ -38,5 +35,5 @@ include $(SRC)/psm/Makefile.psm.64
# XXX this totally sucks since it effectively turns off -errchk=longptr64,
# which we really should be using.
#
-LINTFLAGS64 = $(LINTFLAGS) -Xarch=v9
+LINTFLAGS64 = $(LINTFLAGS) -m64
CFLAGS64 += -xchip=ultra $(CCABS32)