From 621195b4fa03f53e90d33e9397fd03c0dfaafb0d Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Tue, 22 May 2018 16:57:32 -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 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 '/