Mercurial > hg > release > icedtea6-1.6
view patches/icedtea-explicit-target-arch.patch @ 1702:6cb729c4a876
Make the normal (non-Zero/Shark) HotSpot original build work.
2010-03-10 Andrew John Hughes <ahughes@redhat.com>
Fix the normal (non-Zero/Shark) build with
the original HotSpot.
* Makefile.am:
Move format-warnings, fortify-source, 6791168 and includedb
patch to set applied to all HotSpots. Add
bytecodeInterpreter XSL fix back for original HotSpot.
* patches/hotspot/default/icedtea-explicit-target-arch.patch:
Move HotSpot chunk to separate hs14-specific file.
* patches/hotspot/original/icedtea-6791168.patch,
* patches/hotspot/original/icedtea-explicit-target-arch.patch,
* patches/hotspot/original/icedtea-includedb.patch:
New variants for original HotSpot (hs11).
* patches/hotspot/original/icedtea-shark.patch:
Fixed to apply to original HotSpot.
* patches/icedtea-bytecodeInterpreterWithChecks.patch:
Readded, reverting part of Gary's patch of 2009-05-08.
* patches/icedtea-explicit-target-arch.patch:
Remove HotSpot chunk and specialise it in HotSpot
subdirectories.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Thu, 11 Mar 2010 22:57:54 +0000 |
parents | 4501bcea5ffd |
children |
line wrap: on
line source
Index: openjdk/jdk/make/common/shared/Platform.gmk =================================================================== --- openjdk.orig/jdk/make/common/shared/Platform.gmk 2009-05-18 14:09:57.950854863 +0200 +++ openjdk/jdk/make/common/shared/Platform.gmk 2009-05-18 14:18:59.387528133 +0200 @@ -190,9 +190,13 @@ OS_NAME = linux OS_VERSION := $(shell uname -r) # Arch and OS name/version - mach := $(shell uname -m) - ifneq (,$(wildcard /usr/bin/dpkg-architecture)) - mach := $(shell (dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/powerpc$$/ppc/;s/hppa/parisc/') + ifndef CROSS_COMPILATION + mach := $(shell uname -m) + ifneq (,$(wildcard /usr/bin/dpkg-architecture)) + mach := $(shell (dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/powerpc$$/ppc/;s/hppa/parisc/') + endif + else + mach := $(CROSS_TARGET_ARCH) endif archExpr = case "$(mach)" in \ i[3-9]86) \ Index: openjdk/corba/make/common/shared/Platform.gmk =================================================================== --- openjdk.orig/corba/make/common/shared/Platform.gmk 2009-05-18 14:09:58.044921758 +0200 +++ openjdk/corba/make/common/shared/Platform.gmk 2009-05-18 14:17:30.760805124 +0200 @@ -179,10 +179,15 @@ PLATFORM = linux OS_NAME = linux OS_VERSION := $(shell uname -r) - # Arch and OS name/version - mach := $(shell uname -m) - ifneq (,$(wildcard /usr/bin/dpkg-architecture)) - mach := $(shell (dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/powerpc$$/ppc/;s/hppa/parisc/') + ifndef CROSS_COMPILATION + # Not cross-compiling. Take architecture from running system. + mach := $(shell uname -m) + ifneq (,$(wildcard /usr/bin/dpkg-architecture)) + mach := $(shell (dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/powerpc$$/ppc/;s/hppa/parisc/') + endif + else + # Cross-compilation: Assume target archicture is given. + mach := $(CROSS_TARGET_ARCH) endif archExpr = case "$(mach)" in \ i[3-9]86) \