comparison make/solaris/makefiles/vm.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 167c2986d91b
comparison
equal deleted inserted replaced
429:364141474b40 430:4d20a3aaf1ab
99 # 99 #
100 LIBM=/usr/lib$(ISA_DIR)/libm.so.1 100 LIBM=/usr/lib$(ISA_DIR)/libm.so.1
101 101
102 ifeq ("${Platform_compiler}", "sparcWorks") 102 ifeq ("${Platform_compiler}", "sparcWorks")
103 # The whole megilla: 103 # The whole megilla:
104 ifeq ($(shell expr $(COMPILER_REV) \>= 5.5), 1) 104 ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 505), 1)
105 # Old Comment: List the libraries in the order the compiler was designed for 105 # Old Comment: List the libraries in the order the compiler was designed for
106 # Not sure what the 'designed for' comment is referring too above. 106 # Not sure what the 'designed for' comment is referring too above.
107 # The order may not be too significant anymore, but I have placed this 107 # The order may not be too significant anymore, but I have placed this
108 # older libm before libCrun, just to make sure it's found and used first. 108 # older libm before libCrun, just to make sure it's found and used first.
109 LIBS += -lsocket -lsched -ldl $(LIBM) -lCrun -lthread -ldoor -lc 109 LIBS += -lsocket -lsched -ldl $(LIBM) -lCrun -lthread -ldoor -lc