hotspot/make/solaris/makefiles/sparcWorks.make
changeset 360 21d113ecbf6a
parent 338 5cf9f61d76f4
child 584 02175b2b64e6
--- a/hotspot/make/solaris/makefiles/sparcWorks.make	Fri Apr 11 09:56:35 2008 -0400
+++ b/hotspot/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