comparison make/solaris/makefiles/vm.make @ 2080:c04052fd6ae1

7006505: Use kstat info to identify SPARC processor Summary: read Solaris kstat data to get more precise CPU information Reviewed-by: iveresov, never, twisti, dholmes
author kvn
date Thu, 16 Dec 2010 14:15:12 -0800
parents 2968675b413e
children 5a1e52a439fa
comparison
equal deleted inserted replaced
2079:cccd1b172b85 2080:c04052fd6ae1
116 endif # 502 116 endif # 502
117 endif # 505 117 endif # 505
118 else 118 else
119 LIBS += -lsocket -lsched -ldl $(LIBM) -lthread -lc 119 LIBS += -lsocket -lsched -ldl $(LIBM) -lthread -lc
120 endif # sparcWorks 120 endif # sparcWorks
121
122 ifeq ("${Platform_arch}", "sparc")
123 LIBS += -lkstat
124 endif
121 125
122 # By default, link the *.o into the library, not the executable. 126 # By default, link the *.o into the library, not the executable.
123 LINK_INTO$(LINK_INTO) = LIBJVM 127 LINK_INTO$(LINK_INTO) = LIBJVM
124 128
125 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH) 129 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)