Mercurial > hg > graal-jvmci-8
diff 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 |
line wrap: on
line diff
--- a/make/solaris/makefiles/vm.make Thu Dec 16 12:47:52 2010 -0800 +++ b/make/solaris/makefiles/vm.make Thu Dec 16 14:15:12 2010 -0800 @@ -119,6 +119,10 @@ LIBS += -lsocket -lsched -ldl $(LIBM) -lthread -lc endif # sparcWorks +ifeq ("${Platform_arch}", "sparc") +LIBS += -lkstat +endif + # By default, link the *.o into the library, not the executable. LINK_INTO$(LINK_INTO) = LIBJVM