aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorkvn <none@none>2010-08-06 11:53:28 -0700
committerkvn <none@none>2010-08-06 11:53:28 -0700
commit23793822c1d57c2c9cd9412fe96e62f91b2bd708 (patch)
tree257a2b1faa1e3d91e18a973c0847e7afdd766cc7 /make
parentc63d17f65bfd49c18bf62afe21e78f0863d15811 (diff)
6975049: nsk/regression/b4287029 crashes with -Xss64 on solaris-i586
Summary: Tell C++ to not inline so much by using flag -xspace. Reviewed-by: ysr
Diffstat (limited to 'make')
-rw-r--r--make/solaris/makefiles/sparcWorks.make9
1 files changed, 9 insertions, 0 deletions
diff --git a/make/solaris/makefiles/sparcWorks.make b/make/solaris/makefiles/sparcWorks.make
index a8beca112..34b279b72 100644
--- a/make/solaris/makefiles/sparcWorks.make
+++ b/make/solaris/makefiles/sparcWorks.make
@@ -145,11 +145,20 @@ OPT_CFLAGS/SLOWER=-xO3
OPT_CFLAGS/O2=-xO2
OPT_CFLAGS/NOOPT=-xO1
+#################################################
+# Begin current (>=5.9) Forte compiler options #
+#################################################
+
ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
ifeq ($(Platform_arch), x86)
OPT_CFLAGS/NO_TAIL_CALL_OPT = -Wu,-O~yz
OPT_CCFLAGS/NO_TAIL_CALL_OPT = -Qoption ube -O~yz
+OPT_CFLAGS/stubGenerator_x86_32.o = $(OPT_CFLAGS) -xspace
+OPT_CFLAGS/stubGenerator_x86_64.o = $(OPT_CFLAGS) -xspace
endif # Platform_arch == x86
+ifeq ("${Platform_arch}", "sparc")
+OPT_CFLAGS/stubGenerator_sparc.o = $(OPT_CFLAGS) -xspace
+endif
endif # COMPILER_REV_NUMERIC >= 509
#################################################