hotspot/make/bsd/makefiles/vm.make
changeset 17880 17f3d10c297f
parent 17388 8193ee82efbe
child 18025 b7bcf7497f93
--- a/hotspot/make/bsd/makefiles/vm.make	Tue Jun 04 12:06:54 2013 -0700
+++ b/hotspot/make/bsd/makefiles/vm.make	Tue Jun 04 22:16:15 2013 -0700
@@ -126,7 +126,11 @@
 LFLAGS += -Xlinker -z -Xlinker noexecstack
 endif
 
-LIBS += -lm -pthread
+LIBS += -lm
+
+ifeq ($(USE_CLANG),)
+  LIBS += -pthread
+endif
 
 # By default, link the *.o into the library, not the executable.
 LINK_INTO$(LINK_INTO) = LIBJVM