ports/java/openjdk8/files/patch-hotspot_make_bsd_makefiles_vm.make
Jung-uk Kim 93c79b58f9 - Fix reversed ccache version detection logic. Enable ccache support.
- Use '-pthread' for Clang.  Clang supports '-pthread' on all BSDs except
for Darwin. [1]

Reported by:	Achilleas Mantzios <achill@matrix.gatewaynet.com> [1]
Tested by:	Achilleas Mantzios <achill@matrix.gatewaynet.com> [1]
2018-11-16 17:30:17 +00:00

13 lines
304 B
Makefile

--- hotspot/make/bsd/makefiles/vm.make.orig
+++ hotspot/make/bsd/makefiles/vm.make
@@ -132,6 +132,10 @@ LIBS += -lm
ifeq ($(USE_CLANG),)
LIBS += -pthread
+else
+ ifneq ($(OS_VENDOR), Darwin)
+ LIBS += -pthread
+ endif
endif
# By default, link the *.o into the library, not the executable.