changeset 2576:40028a1dbc12

PR2414: CFLAGS, CXXFLAGS and LDFLAGS should be passed to OpenJDK build 2015-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org> PR2414: CFLAGS, CXXFLAGS and LDFLAGS should be passed to OpenJDK build * Makefile.am: (ICEDTEA_CONFIGURE): Pass --with-extra-cflags, --with-extra-cxxflags and --with-extra-ldflags, using CFLAGS, CXXFLAGS and LDFLAGS values held by make. * NEWS: Updated.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Mon, 15 Jun 2015 15:55:52 +0100
parents eef478c09a51
children e383106102c8
files ChangeLog Makefile.am NEWS
diffstat 3 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Jun 08 17:14:05 2015 +0100
+++ b/ChangeLog	Mon Jun 15 15:55:52 2015 +0100
@@ -1,3 +1,14 @@
+2015-06-15  Andrew John Hughes  <gnu_andrew@member.fsf.org>
+
+	PR2414: CFLAGS, CXXFLAGS and LDFLAGS should be
+	passed to OpenJDK build
+	* Makefile.am:
+	(ICEDTEA_CONFIGURE): Pass --with-extra-cflags,
+	--with-extra-cxxflags and --with-extra-ldflags,
+	using CFLAGS, CXXFLAGS and LDFLAGS values
+	held by make.
+	* NEWS: Updated.
+
 2015-06-08  Andrew John Hughes  <gnu_andrew@member.fsf.org>
 
 	* Makefile.am:
--- a/Makefile.am	Mon Jun 08 17:14:05 2015 +0100
+++ b/Makefile.am	Mon Jun 15 15:55:52 2015 +0100
@@ -296,7 +296,10 @@
 	  --with-boot-jdk=$(BOOT_DIR) \
 	  --with-update-version=$(JDK_UPDATE_VERSION) \
 	  --with-build-number=$(BUILD_VERSION) \
-	  --with-milestone="fcs"
+	  --with-milestone="fcs" \
+	  --with-extra-cflags="$(CFLAGS)" \
+	  --with-extra-cxxflags="$(CXXFLAGS)" \
+	  --with-extra-ldflags="$(LDFLAGS)"
 
 if ENABLE_CACAO
 ICEDTEA_CONFIGURE += \
--- a/NEWS	Mon Jun 08 17:14:05 2015 +0100
+++ b/NEWS	Mon Jun 15 15:55:52 2015 +0100
@@ -101,6 +101,7 @@
   - PR2409: Update Zero macro to match one in IcedTea 2.x
   - PR2410: Support PPC64 JIT on ppc64le
   - PR2411: Fix references to hotspot.map following PR2001
+  - PR2414: CFLAGS, CXXFLAGS and LDFLAGS should be passed to OpenJDK build
   - Don't substitute 'j' for '-j' inside -I directives
   - Extend 8041658 to all files in the HotSpot build.
   - Remove jcheck