changeset 3258:6ea26782250d

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 Mon, 15 Aug 2016 16:52:53 +0100
parents 2293a898b34a
children 2b2efb516e5a 94ea67d446bc
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	Mon Aug 15 16:52:53 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	Mon Aug 15 16:52:53 2016 +0100
@@ -863,8 +863,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	Mon Aug 15 16:52:53 2016 +0100
@@ -47,6 +47,7 @@
   - PR3132: PaX marking fails on filesystems which don't support extended attributes
   - PR3137: GTKLookAndFeel does not honor gtk-alternative-button-order
   - PR3139: Update documentation
+  - PR3140: Pass $(CC) and $(CXX) to OpenJDK build
 
 New in release 1.13.11 (2016-05-05):