changeset 1302:48a808c06395

2009-01-08 Matthias Klose <doko@ubuntu.com> * patches/hotspot/14.0b08/icedtea-no-precompiled.patch: Don't use precompiled header files in hotspot. * HACKING: Document the above.
author doko@ubuntu.com
date Thu, 08 Jan 2009 22:15:08 +0100
parents 2938e5bb0575
children 6c79e6c68d05
files ChangeLog HACKING patches/hotspot/14.0b08/icedtea-no-precompiled.patch
diffstat 3 files changed, 39 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 08 20:45:32 2009 +0100
+++ b/ChangeLog	Thu Jan 08 22:15:08 2009 +0100
@@ -1,3 +1,9 @@
+2009-01-08  Matthias Klose  <doko@ubuntu.com>
+
+	* patches/hotspot/14.0b08/icedtea-no-precompiled.patch: Don't use
+	precompiled header files in hotspot.
+	* HACKING: Document the above.
+
 2009-01-08  Christian Thalinger  <christian.thalinger@gmail.com>
 
 	* acinclude.m4 (SET_OS_DIRS): New function.
--- a/HACKING	Thu Jan 08 20:45:32 2009 +0100
+++ b/HACKING	Thu Jan 08 22:15:08 2009 +0100
@@ -81,6 +81,7 @@
 * icedtea-a11y-property-change.patch: Dont fire PropertyChangeEvent if the property hasnt changed.
 * icedtea-demo-swingapplet.patch: Add missing html file needed to run the demo.
 * icedtea-hotspot-dispatch.patch: Fix build failure with GCC-4.4 (PR 38725).
+* icedtea-no-precompiled.patch: Don't use precompiled header files in hotspot.
 
 The following patches are only applied to OpenJDK6 in IcedTea6:
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/hotspot/14.0b08/icedtea-no-precompiled.patch	Thu Jan 08 22:15:08 2009 +0100
@@ -0,0 +1,32 @@
+--- openjdk/hotspot/make/linux/makefiles/gcc.make.orig	2009-01-04 13:51:38.000000000 +0000
++++ openjdk/hotspot/make/linux/makefiles/gcc.make	2009-01-04 13:53:34.000000000 +0000
+@@ -34,13 +34,6 @@
+ CC_VER_MAJOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f1)
+ CC_VER_MINOR := $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
+ 
+-# check for precompiled headers support
+-ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
+-USE_PRECOMPILED_HEADER=1
+-PRECOMPILED_HEADER_DIR=.
+-PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/incls/_precompiled.incl.gch
+-endif
+-
+ 
+ #------------------------------------------------------------------------
+ # Compiler flags
+--- openjdk/hotspot/make/solaris/makefiles/gcc.make.orig	2009-01-04 14:44:12.000000000 +0000
++++ openjdk/hotspot/make/solaris/makefiles/gcc.make	2009-01-04 17:06:50.000000000 +0000
+@@ -45,13 +45,6 @@
+ $(shell $(CC) -dumpversion | sed 's/egcs-//' | cut -d'.' -f2)
+ 
+ 
+-# check for precompiled headers support
+-ifneq "$(shell expr \( $(CC_VER_MAJOR) \> 3 \) \| \( \( $(CC_VER_MAJOR) = 3 \) \& \( $(CC_VER_MINOR) \>= 4 \) \))" "0"
+-USE_PRECOMPILED_HEADER=1
+-PRECOMPILED_HEADER_DIR=.
+-PRECOMPILED_HEADER=$(PRECOMPILED_HEADER_DIR)/incls/_precompiled.incl.gch
+-endif
+-
+ 
+ #------------------------------------------------------------------------
+ # Compiler flags