Skip to content

Commit 3b98104

Browse files
authored
Merge pull request ibmruntimes#482 from pshipton/compilerver
Use CXX_VERSION_STRING instead of COMPILER_VERSION_STRING
2 parents 3eebfb5 + 66a4722 commit 3b98104

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

closed/OpenJ9.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ $(foreach file, \
197197

198198
OPENJ9_VERSION_VARS := \
199199
COMPANY_NAME \
200-
COMPILER_VERSION_STRING \
200+
CXX_VERSION_STRING \
201201
DEBUG_LEVEL \
202202
J9JDK_EXT_NAME \
203203
J9JDK_EXT_VERSION \

closed/autoconf/custom-hook.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,11 +550,11 @@ AC_DEFUN([OPENJ9_PLATFORM_SETUP],
550550
551551
OPENJ9_BUILDSPEC="${OPENJ9_BUILD_OS}_${OPENJ9_BUILD_MODE_ARCH}"
552552
553+
AC_SUBST(CXX_VERSION_STRING)
554+
AC_SUBST(OMR_MIXED_REFERENCES_MODE)
553555
AC_SUBST(OPENJ9_BUILDSPEC)
554-
AC_SUBST(OPENJ9_PLATFORM_CODE)
555-
AC_SUBST(COMPILER_VERSION_STRING)
556556
AC_SUBST(OPENJ9_LIBS_SUBDIR)
557-
AC_SUBST(OMR_MIXED_REFERENCES_MODE)
557+
AC_SUBST(OPENJ9_PLATFORM_CODE)
558558
])
559559

560560
AC_DEFUN([OPENJ9_CHECK_NASM_VERSION],

closed/autoconf/custom-spec.gmk.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ OPENJ9_ENABLE_JITSERVER := @OPENJ9_ENABLE_JITSERVER@
7979
OPENJ9_ENABLE_SNAPSHOTS := @OPENJ9_ENABLE_SNAPSHOTS@
8080

8181
# for constructing version output
82-
COMPILER_VERSION_STRING := @COMPILER_VERSION_STRING@
82+
CXX_VERSION_STRING := @CXX_VERSION_STRING@
8383

8484
include $(TOPDIR)/closed/openjdk-tag.gmk
8585

closed/openj9_version_info.h.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* ===========================================================================
3-
* (c) Copyright IBM Corp. 2017, 2024 All Rights Reserved
3+
* (c) Copyright IBM Corp. 2017, 2025 All Rights Reserved
44
* ===========================================================================
55
* This code is free software; you can redistribute it and/or modify it
66
* under the terms of the GNU General Public License version 2 only, as
@@ -23,7 +23,7 @@
2323
#ifndef OPENJ9_VERSION_INFO_H
2424
#define OPENJ9_VERSION_INFO_H
2525

26-
#define J9COMPILER_VERSION_STRING "@COMPILER_VERSION_STRING@"
26+
#define J9COMPILER_VERSION_STRING "@CXX_VERSION_STRING@"
2727
#define J9PRODUCT_NAME "@PRODUCT_NAME@ @PRODUCT_SUFFIX@"
2828
#define J9TARGET_CPU_BITS "@OPENJDK_TARGET_CPU_BITS@"
2929
#define J9TARGET_CPU_OSARCH "@OPENJDK_TARGET_CPU_OSARCH@"

0 commit comments

Comments
 (0)