8199339: JDK-8198859 broke solaris x64
authorerikj
Thu, 08 Mar 2018 19:13:16 +0100
changeset 49157 2478f56cf409
parent 49156 6aaf3aef2d67
child 49158 f62d1d1c2d9c
child 49228 1d1ecade0126
8199339: JDK-8198859 broke solaris x64 Reviewed-by: ihse
make/hotspot/lib/CompileDtracePostJvm.gmk
--- 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