changeset 3265:d491b689c5b8

PR3140: Pass $(CC) and $(CXX) to OpenJDK build 2016-08-14 Andrew John Hughes <gnu.andrew@member.fsf.org> PR3140: Pass $(CC) and $(CXX) to OpenJDK build * Makefile.am: (ICEDTEA_ENV): Set CC and CXX instead of BUILD_GCC and BUILD_CXX. Use $(CC) and $(CXX) instead of hardcoding gcc and g++. * NEWS: Updated.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Wed, 17 Aug 2016 03:46:55 +0100
parents 9057420d85df
children 71cd145e7a3a
files ChangeLog Makefile.am NEWS
diffstat 3 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Aug 15 06:30:32 2016 +0100
+++ b/ChangeLog	Wed Aug 17 03:46:55 2016 +0100
@@ -1,3 +1,13 @@
+2016-08-14  Andrew John Hughes  <gnu.andrew@member.fsf.org>
+
+	PR3140: Pass $(CC) and $(CXX) to OpenJDK build
+	* Makefile.am:
+	(ICEDTEA_ENV): Set CC and CXX instead
+	of BUILD_GCC and BUILD_CXX. Use $(CC)
+	and $(CXX) instead of hardcoding gcc
+	and g++.
+	* NEWS: Updated.
+
 2016-08-04  Andrew John Hughes  <gnu.andrew@member.fsf.org>
 
 	PR3129: pax-mark-vm script calls "exit -1" which
--- a/Makefile.am	Mon Aug 15 06:30:32 2016 +0100
+++ b/Makefile.am	Wed Aug 17 03:46:55 2016 +0100
@@ -847,8 +847,8 @@
 	VERBOSE="$(VERBOSE)" \
 	ALT_OUTPUTDIR="$(BUILD_OUTPUT_DIR)" \
 	STATIC_CXX="false" \
-	BUILD_GCC=gcc$(GCC_SUFFIX) \
-	BUILD_CXX=g++$(GCC_SUFFIX) \
+	CC=$(CC)$(GCC_SUFFIX) \
+	CXX=$(CXX)$(GCC_SUFFIX) \
 	COMPILER_WARNINGS_FATAL="$(WERROR_STATUS)" \
 	UNLIMITED_CRYPTO="true"
 
--- a/NEWS	Mon Aug 15 06:30:32 2016 +0100
+++ b/NEWS	Wed Aug 17 03:46:55 2016 +0100
@@ -31,6 +31,7 @@
   - PR3130: Avoid giving PAX_COMMAND a value if no PaX utility is available
   - PR3132: PaX marking fails on filesystems which don't support extended attributes
   - PR3137: GTKLookAndFeel does not honor gtk-alternative-button-order
+  - PR3140: Pass $(CC) and $(CXX) to OpenJDK build
 
 New in release 1.13.11 (2016-05-05):