From 2addc2fee342fc064c247dffad5a67907f9f41f8 Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Tue, 22 May 2018 16:56:46 -0400 Subject: [PATCH] Copy configured values to relevant UMA properties in .spec files Signed-off-by: Keith W. Campbell --- closed/OpenJ9.gmk | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/closed/OpenJ9.gmk b/closed/OpenJ9.gmk index 696ed213596..4e12e17002e 100644 --- a/closed/OpenJ9.gmk +++ b/closed/OpenJ9.gmk @@ -198,8 +198,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 '/