diff make/solaris/makefiles/sparcv9.make @ 430:4d20a3aaf1ab

6769748: Fix solaris makefiles for the case when "CC -V" produces several lines Summary: Fix solaris makefiles for 5.10 compilers Reviewed-by: jcoomes
author kvn
date Wed, 12 Nov 2008 11:01:31 -0800
parents d1605aabd0a1
children c18cbe5936b8
line wrap: on
line diff
--- a/make/solaris/makefiles/sparcv9.make	Wed Nov 12 05:42:59 2008 -0800
+++ b/make/solaris/makefiles/sparcv9.make	Wed Nov 12 11:01:31 2008 -0800
@@ -26,7 +26,7 @@
 ASFLAGS += $(AS_ARCHFLAG)
 
 ifeq ("${Platform_compiler}", "sparcWorks")
-ifeq ($(shell expr $(COMPILER_REV) \< 5.5), 1)
+ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \< 505), 1)
 # When optimized fully, stubGenerator_sparc.cpp 
 # has bogus code for the routine 
 # StubGenerator::generate_flush_callers_register_windows()