changeset 49331:2478f56cf409

8199339: JDK-8198859 broke solaris x64 Reviewed-by: ihse
author erikj
date Thu, 08 Mar 2018 19:13:16 +0100
parents 6aaf3aef2d67
children f62d1d1c2d9c 1d1ecade0126
files make/hotspot/lib/CompileDtracePostJvm.gmk
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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