# HG changeset patch # User doko@ubuntu.com # Date 1231449308 -3600 # Node ID 48a808c0639591cf09d537653861ecf1290c7cfa # Parent 2938e5bb057573367b7f43a835ce5034d1884ccc 2009-01-08 Matthias Klose * patches/hotspot/14.0b08/icedtea-no-precompiled.patch: Don't use precompiled header files in hotspot. * HACKING: Document the above. diff -r 2938e5bb0575 -r 48a808c06395 ChangeLog --- 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 + + * 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 * acinclude.m4 (SET_OS_DIRS): New function. diff -r 2938e5bb0575 -r 48a808c06395 HACKING --- 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: diff -r 2938e5bb0575 -r 48a808c06395 patches/hotspot/14.0b08/icedtea-no-precompiled.patch --- /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