mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 08:30:37 -04:00
- 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]
13 lines
304 B
Makefile
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.
|