--- a/make/hotspot/lib/CompileDtracePostJvm.gmk Thu Mar 08 18:51:31 2018 +0100
+++ b/make/hotspot/lib/CompileDtracePostJvm.gmk Thu Mar 08 19:13:16 2018 +0100
@@ -160,7 +160,9 @@
> $(DTRACE_SUPPORT_DIR)/$(@F).d))
$(call ExecuteWithLog, $@, $(DTRACE) $(DTRACE_FLAGS) -o $@ \
-s $(DTRACE_SUPPORT_DIR)/$(@F).d)
- $(call ExecuteWithLog, $@.elfedit, $(ELFEDIT) $(call GetElfeditCommands) $@)
+ ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc)
+ $(call ExecuteWithLog, $@.elfedit, $(ELFEDIT) $(call GetElfeditCommands) $@)
+ endif
############################################################################
# Build the stand-alone dtrace libraries