diff --git a/closed/OpenJ9.gmk b/closed/OpenJ9.gmk index f98d7c7b72..3a70af255a 100644 --- a/closed/OpenJ9.gmk +++ b/closed/OpenJ9.gmk @@ -268,8 +268,18 @@ else FEATURE_SED_SCRIPT := $(call SedDisable,opt_cuda) endif -# Adjust .spec files replacing references to gcc-4.6. Openjdk requires 4.8.2 or newer. -SPEC_SED_SCRIPT := -e 's/gcc-4.6/gcc/g' +# Function to generate sed program fragment. +# $1 - name of make macro to use instead of a hard-coded tool reference. +# $2 - suffix of uma_make_cmd property name to be adjusted. +SedUmaCommand = -e '/