summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4v
diff options
context:
space:
mode:
authorpetede <none@none>2006-07-25 13:52:56 -0700
committerpetede <none@none>2006-07-25 13:52:56 -0700
commit9dd828891378a0a6a509ab601b4c5c20ca5562ec (patch)
tree4165389f824e51224d0f051458310fcd527ead85 /usr/src/uts/sun4v
parent937435419de303fde6598a9eda8f579228a6ee3c (diff)
downloadillumos-gate-9dd828891378a0a6a509ab601b4c5c20ca5562ec.tar.gz
6311077 Enabling ON compilation with Sun Studio 11 (Venus)
Diffstat (limited to 'usr/src/uts/sun4v')
-rw-r--r--usr/src/uts/sun4v/Makefile.sun4v.shared2
-rw-r--r--usr/src/uts/sun4v/arcfour/Makefile9
-rw-r--r--usr/src/uts/sun4v/arcfour2048/Makefile9
-rw-r--r--usr/src/uts/sun4v/md5/Makefile2
4 files changed, 11 insertions, 11 deletions
diff --git a/usr/src/uts/sun4v/Makefile.sun4v.shared b/usr/src/uts/sun4v/Makefile.sun4v.shared
index 817dd7993f..a3e6a41e35 100644
--- a/usr/src/uts/sun4v/Makefile.sun4v.shared
+++ b/usr/src/uts/sun4v/Makefile.sun4v.shared
@@ -167,6 +167,8 @@ CFLAGS += $(CERRWARN)
CFLAGS += $(CTF_FLAGS)
CFLAGS += $(C99MODE)
CFLAGS += $(CCUNBOUND)
+CFLAGS += $(CCSTATICSYM)
+CFLAGS += $(IROPTFLAG)
CFLAGS += -xregs=no%float
CPPFLAGS += -DGLREG
diff --git a/usr/src/uts/sun4v/arcfour/Makefile b/usr/src/uts/sun4v/arcfour/Makefile
index 55b9b59470..0a7abb5b3f 100644
--- a/usr/src/uts/sun4v/arcfour/Makefile
+++ b/usr/src/uts/sun4v/arcfour/Makefile
@@ -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.
@@ -22,7 +21,7 @@
#
# uts/sun4v/arcfour/Makefile
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -80,7 +79,7 @@ COPTIMIZE = -xO5 -xbuiltin=%all
#
# Override the default -xspace setting
#
-sparc_SPACEFLAG = -W0,-Lt -W2,-Rcond_elim
+sparc_SPACEFLAG = -W0,-Lt
#
# Default build targets.
diff --git a/usr/src/uts/sun4v/arcfour2048/Makefile b/usr/src/uts/sun4v/arcfour2048/Makefile
index dcbb88d920..3cd7b549d1 100644
--- a/usr/src/uts/sun4v/arcfour2048/Makefile
+++ b/usr/src/uts/sun4v/arcfour2048/Makefile
@@ -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,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -70,7 +69,7 @@ COPTIMIZE = -xO5 -xbuiltin=%all
#
# Override the default -xspace setting
#
-sparc_SPACEFLAG = -W0,-Lt -W2,-Rcond_elim
+sparc_SPACEFLAG = -W0,-Lt
#
# Turn on doubleword alignment for 64 bit registers
diff --git a/usr/src/uts/sun4v/md5/Makefile b/usr/src/uts/sun4v/md5/Makefile
index e99af50999..535be83119 100644
--- a/usr/src/uts/sun4v/md5/Makefile
+++ b/usr/src/uts/sun4v/md5/Makefile
@@ -65,7 +65,7 @@ CFLAGS += $(CCVERBOSE)
#
# Override the default -xspace setting
#
-sparc_SPACEFLAG = -W0,-Lt -W2,-Rcond_elim
+sparc_SPACEFLAG = -W0,-Lt
#
# md5 depends on the kcf framework