changeset in /hg/icedtea6: 2008-07-21 Gary Benson <gbenson at red...

Gary Benson gbenson at redhat.com
Mon Jul 21 03:23:06 PDT 2008


changeset c338d4b6951b in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=c338d4b6951b
description:
	2008-07-21  Gary Benson  <gbenson at redhat.com>

		PR icedtea/170:
		* patches/icedtea-zero-build.patch: Build class library with
		-D_LITTLE_ENDIAN where appropriate.

diffstat:

2 files changed, 14 insertions(+), 2 deletions(-)
ChangeLog                        |    6 ++++++
patches/icedtea-zero-build.patch |   10 ++++++++--

diffs (54 lines):

diff -r 192d6031aef6 -r c338d4b6951b ChangeLog
--- a/ChangeLog	Mon Jul 21 10:44:50 2008 +0100
+++ b/ChangeLog	Mon Jul 21 06:22:39 2008 -0400
@@ -1,3 +1,9 @@ 2008-07-21  Gary Benson  <gbenson at redhat
+2008-07-21  Gary Benson  <gbenson at redhat.com>
+
+	PR icedtea/170:
+	* patches/icedtea-zero-build.patch: Build class library with
+	-D_LITTLE_ENDIAN where appropriate.
+
 2008-07-21  Gary Benson  <gbenson at redhat.com>
 
 	* HACKING: Added instructions for how to regenerate
diff -r 192d6031aef6 -r c338d4b6951b patches/icedtea-zero-build.patch
--- a/patches/icedtea-zero-build.patch	Mon Jul 21 10:44:50 2008 +0100
+++ b/patches/icedtea-zero-build.patch	Mon Jul 21 06:22:39 2008 -0400
@@ -133,7 +133,7 @@ diff -r c9fa8e3d5aa2 openjdk/jdk/make/co
 diff -r c9fa8e3d5aa2 openjdk/jdk/make/common/Defs-linux.gmk
 --- openjdk/jdk/make/common/Defs-linux.gmk	Thu Mar 20 13:42:48 2008 +0000
 +++ openjdk/jdk/make/common/Defs-linux.gmk	Thu Mar 20 13:45:05 2008 +0000
-@@ -109,8 +109,13 @@ LDFLAGS_COMMON_sparcv9  += -m64 -mcpu=v9
+@@ -109,8 +109,16 @@ LDFLAGS_COMMON_sparcv9  += -m64 -mcpu=v9
  LDFLAGS_COMMON_sparcv9  += -m64 -mcpu=v9
  CFLAGS_REQUIRED_sparc   += -m32 -mcpu=v9
  LDFLAGS_COMMON_sparc    += -m32 -mcpu=v9
@@ -141,6 +141,9 @@ diff -r c9fa8e3d5aa2 openjdk/jdk/make/co
 -LDFLAGS_COMMON          += $(LDFLAGS_COMMON_$(ARCH))
 +ifdef ICEDTEA_ZERO_BUILD
 +  CFLAGS_REQUIRED       =  $(ZERO_ARCHFLAG)
++  ifeq ($(ZERO_ENDIANNESS), little)
++    CFLAGS_REQUIRED     += -D_LITTLE_ENDIAN
++  endif
 +  LDFLAGS_COMMON        += $(ZERO_ARCHFLAG)
 +else
 +  CFLAGS_REQUIRED       =  $(CFLAGS_REQUIRED_$(ARCH))
@@ -242,7 +245,7 @@ diff -r c9fa8e3d5aa2 openjdk/corba/make/
 diff -r c9fa8e3d5aa2 openjdk/corba/make/common/Defs-linux.gmk
 --- openjdk/corba/make/common/Defs-linux.gmk	Thu Mar 20 13:42:48 2008 +0000
 +++ openjdk/corba/make/common/Defs-linux.gmk	Thu Mar 20 13:57:50 2008 +0000
-@@ -99,8 +99,13 @@ LDFLAGS_COMMON_sparcv9  += -m64 -mcpu=v9
+@@ -99,8 +99,16 @@ LDFLAGS_COMMON_sparcv9  += -m64 -mcpu=v9
  LDFLAGS_COMMON_sparcv9  += -m64 -mcpu=v9
  CFLAGS_REQUIRED_sparc   += -m32 -mcpu=v9
  LDFLAGS_COMMON_sparc    += -m32 -mcpu=v9
@@ -250,6 +253,9 @@ diff -r c9fa8e3d5aa2 openjdk/corba/make/
 -LDFLAGS_COMMON          += $(LDFLAGS_COMMON_$(ARCH))
 +ifdef ICEDTEA_ZERO_BUILD
 +  CFLAGS_REQUIRED       =  $(ZERO_ARCHFLAG)
++  ifeq ($(ZERO_ENDIANNESS), little)
++    CFLAGS_REQUIRED     += -D_LITTLE_ENDIAN
++  endif
 +  LDFLAGS_COMMON        += $(ZERO_ARCHFLAG)
 +else
 +  CFLAGS_REQUIRED       =  $(CFLAGS_REQUIRED_$(ARCH))



More information about the distro-pkg-dev mailing list