opnsense-ports/java/openjdk8/files/patch-hotspot_make_bsd_makefiles_gcc.make
Franco Fichtner d5bce9b18d */*: sync with upstream
Taken from: HardenedBSD
2018-11-17 14:24:46 +01:00

12 lines
283 B
Makefile

--- hotspot/make/bsd/makefiles/gcc.make.orig
+++ hotspot/make/bsd/makefiles/gcc.make
@@ -200,6 +200,9 @@ ifeq ($(USE_CLANG),)
CFLAGS += -fvisibility=hidden
endif
else
+ ifneq ($(OS_VENDOR), Darwin)
+ CFLAGS += -pthread
+ endif
CFLAGS += -fvisibility=hidden
endif