changeset 757:47561b02c0e7 cacao

2008-03-11 Matthias Klose <doko@ubuntu.com> * patches/icedtea-gcc-suffix.patch: Update, use GCC_SUFFIX in more places.
author doko@ubuntu.com
date Tue, 11 Mar 2008 18:49:11 +0100
parents 33b97b19ea82
children b09b79ff309b
files ChangeLog patches/icedtea-gcc-suffix.patch
diffstat 2 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 11 18:46:12 2008 +0100
+++ b/ChangeLog	Tue Mar 11 18:49:11 2008 +0100
@@ -1,3 +1,8 @@
+2008-03-11  Matthias Klose  <doko@ubuntu.com>
+
+	* patches/icedtea-gcc-suffix.patch: Update, use GCC_SUFFIX in more
+	places.
+
 2008-03-11  Matthias Klose  <doko@ubuntu.com>
 
 	* configure.ac: Check for zip and unzip.
--- a/patches/icedtea-gcc-suffix.patch	Tue Mar 11 18:46:12 2008 +0100
+++ b/patches/icedtea-gcc-suffix.patch	Tue Mar 11 18:49:11 2008 +0100
@@ -46,3 +46,27 @@
    endif
    ifneq ("$(findstring sparc,$(ARCH))", "")
      # sparc or sparcv9
+--- openjdk/corba/make/common/shared/Compiler-gcc.gmk~	2008-01-14 14:05:43.738465508 +0100
++++ openjdk/corba/make/common/shared/Compiler-gcc.gmk	2008-01-14 14:19:33.640984398 +0100
+@@ -58,17 +58,17 @@
+ ifeq ($(PLATFORM), linux)
+ 
+   # Settings specific to Linux
+-  CC             = $(COMPILER_PATH)gcc
+-  CPP            = $(COMPILER_PATH)gcc -E
++  CC             = $(COMPILER_PATH)gcc$(GCC_SUFFIX)
++  CPP            = $(COMPILER_PATH)gcc$(GCC_SUFFIX) -E
+   # statically link libstdc++ before C++ ABI is stablized on Linux
+   STATIC_CXX     = true
+   ifeq ($(STATIC_CXX),true)
+     # g++ always dynamically links libstdc++, even we use "-Wl,-Bstatic -lstdc++"
+     # We need to use gcc to statically link the C++ runtime. gcc and g++ use
+     # the same subprocess to compile C++ files, so it is OK to build using gcc.
+-    CXX            = $(COMPILER_PATH)gcc
++    CXX            = $(COMPILER_PATH)gcc$(GCC_SUFFIX)
+   else
+-    CXX            = $(COMPILER_PATH)g++
++    CXX            = $(COMPILER_PATH)g++$(GCC_SUFFIX)
+   endif
+   ifneq ("$(findstring sparc,$(ARCH))", "")
+     # sparc or sparcv9