diff make/solaris/makefiles/sparcWorks.make @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents a294fd0c4b38
children a49545cab84a
line wrap: on
line diff
--- a/make/solaris/makefiles/sparcWorks.make	Fri Apr 11 09:56:35 2008 -0400
+++ b/make/solaris/makefiles/sparcWorks.make	Sun Apr 13 17:43:42 2008 -0400
@@ -185,6 +185,12 @@
 # no more exceptions
 CFLAGS/NOEX=-features=no%except
 
+
+# avoid compilation problems arising from fact that C++ compiler tries 
+# to search for external template definition by just compiling additional
+# source files in th same context
+CFLAGS +=  -template=no%extdef
+
 # Reduce code bloat by reverting back to 5.0 behavior for static initializers
 CFLAGS += -features=no%split_init