From a954cc87d1dcb8fb35a321e39f4b8fdddf26a987 Mon Sep 17 00:00:00 2001 From: Sven Ebenfeld Date: Mon, 27 Apr 2015 22:12:57 +0200 Subject: icedtea7-native: fix build with gcc 4.9 Signed-off-by: Sven Ebenfeld Signed-off-by: Otavio Salvador --- .../icedtea-change-to-gdb-debug-format.patch | 29 ++++++++++++++++++++++ recipes-core/icedtea/openjdk-7-release-03b147.inc | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch (limited to 'recipes-core/icedtea') diff --git a/recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch b/recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch new file mode 100644 index 0000000..813dc97 --- /dev/null +++ b/recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch @@ -0,0 +1,29 @@ +--- openjdk/hotspot/make/linux/makefiles/gcc.make 2015-04-02 08:02:31.301728214 +0200 ++++ openjdk/hotspot/make/linux/makefiles/gcc.make.new 2015-04-02 08:19:55.502171268 +0200 +@@ -233,7 +233,7 @@ + DEBUG_CFLAGS/ppc = -g + DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) + ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) +-DEBUG_CFLAGS += -gstabs ++DEBUG_CFLAGS += -g + endif + + ifneq ($(OBJCOPY),) +@@ -244,7 +244,7 @@ + FASTDEBUG_CFLAGS/zero = -g + FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) + ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),) +- FASTDEBUG_CFLAGS += -gstabs ++ FASTDEBUG_CFLAGS += -g + endif + + OPT_CFLAGS/ia64 = -g +@@ -254,7 +254,7 @@ + OPT_CFLAGS/zero = -g + OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH)) + ifeq ($(OPT_CFLAGS/$(BUILDARCH)),) +- OPT_CFLAGS += -gstabs ++ OPT_CFLAGS += -g + endif + endif + diff --git a/recipes-core/icedtea/openjdk-7-release-03b147.inc b/recipes-core/icedtea/openjdk-7-release-03b147.inc index 47813cd..01e7a3d 100644 --- a/recipes-core/icedtea/openjdk-7-release-03b147.inc +++ b/recipes-core/icedtea/openjdk-7-release-03b147.inc @@ -81,6 +81,7 @@ OPENJDK_PATCHES = " \ file://icedtea-jdk-sane-x86-arch.patch;apply=no \ file://icedtea-flags.patch;apply=no \ file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \ + file://icedtea-change-to-gdb-debug-format.patch;apply=no \ " export DISTRIBUTION_PATCHES = " \ @@ -91,4 +92,5 @@ export DISTRIBUTION_PATCHES = " \ patches/icedtea-jdk-sane-x86-arch.patch \ patches/icedtea-flags.patch \ patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ + patches/icedtea-change-to-gdb-debug-format.patch \ " -- cgit v1.2.3-54-g00ecf