ports/java/openjdk12/files/patch-make_hotspot_lib_JvmDtraceObjects.gmk
Greg Lewis 42f8b4781f * Update to 12.0.0.33.2
* Sort LIB_DEPENDS and USE_XORG.
* Add a dependency in alsa-lib now that sound is supported on FreeBSD.
* Don't disable dtrace now that it is supported on FreeBSD.
* Less intrusive iconv change.
2019-03-29 17:39:15 +00:00

18 lines
565 B
Text

--- make/hotspot/lib/JvmDtraceObjects.gmk
+++ make/hotspot/lib/JvmDtraceObjects.gmk
@@ -201,8 +201,13 @@ ifeq ($(call check-jvm-feature, dtrace), true)
)
endif
- DTRACE_FLAGS := -64 -G
- DTRACE_CPP_FLAGS := -D_LP64 -x c
+ ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
+ DTRACE_FLAGS := -32 -G
+ DTRACE_CPP_FLAGS := -x c
+ else
+ DTRACE_FLAGS := -64 -G
+ DTRACE_CPP_FLAGS := -D_LP64 -x c
+ endif
# Make sure we run our selected compiler for preprocessing instead of letting
# the dtrace tool pick it on it's own.