comparison make/bsd/makefiles/vm.make @ 4895:2cb5d5f6d5e5

8015252: Enable HotSpot build with Clang Reviewed-by: twisti, dholmes, kvn
author simonis
date Tue, 04 Jun 2013 22:16:15 -0700
parents e484fe2abebd
children 7b772f9e0365
comparison
equal deleted inserted replaced
16:0b46fe9cceaf 17:94f7a2a790c3
124 # Darwin is non-executable-stack by default 124 # Darwin is non-executable-stack by default
125 ifneq ($(OS_VENDOR), Darwin) 125 ifneq ($(OS_VENDOR), Darwin)
126 LFLAGS += -Xlinker -z -Xlinker noexecstack 126 LFLAGS += -Xlinker -z -Xlinker noexecstack
127 endif 127 endif
128 128
129 LIBS += -lm -pthread 129 LIBS += -lm
130
131 ifeq ($(USE_CLANG),)
132 LIBS += -pthread
133 endif
130 134
131 # By default, link the *.o into the library, not the executable. 135 # By default, link the *.o into the library, not the executable.
132 LINK_INTO$(LINK_INTO) = LIBJVM 136 LINK_INTO$(LINK_INTO) = LIBJVM
133 137
134 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH) 138 JDK_LIBDIR = $(JAVA_HOME)/jre/lib/$(LIBARCH)