diff options
author | Sven Ebenfeld <sven.ebenfeld@gmail.com> | 2015-04-27 22:12:57 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-04-28 16:09:34 -0300 |
commit | a954cc87d1dcb8fb35a321e39f4b8fdddf26a987 (patch) | |
tree | d0126034292c1e1b72f74e9ec212e9c4f3970f24 /recipes-core/icedtea | |
parent | b6562720516428b74acf640e3e5445af31976317 (diff) | |
download | meta-java-a954cc87d1dcb8fb35a321e39f4b8fdddf26a987.tar.gz |
icedtea7-native: fix build with gcc 4.9
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/icedtea')
-rw-r--r-- | recipes-core/icedtea/openjdk-7-03b147/icedtea-change-to-gdb-debug-format.patch | 29 | ||||
-rw-r--r-- | recipes-core/icedtea/openjdk-7-release-03b147.inc | 2 |
2 files changed, 31 insertions, 0 deletions
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 @@ | |||
1 | --- openjdk/hotspot/make/linux/makefiles/gcc.make 2015-04-02 08:02:31.301728214 +0200 | ||
2 | +++ openjdk/hotspot/make/linux/makefiles/gcc.make.new 2015-04-02 08:19:55.502171268 +0200 | ||
3 | @@ -233,7 +233,7 @@ | ||
4 | DEBUG_CFLAGS/ppc = -g | ||
5 | DEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | ||
6 | ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),) | ||
7 | -DEBUG_CFLAGS += -gstabs | ||
8 | +DEBUG_CFLAGS += -g | ||
9 | endif | ||
10 | |||
11 | ifneq ($(OBJCOPY),) | ||
12 | @@ -244,7 +244,7 @@ | ||
13 | FASTDEBUG_CFLAGS/zero = -g | ||
14 | FASTDEBUG_CFLAGS += $(DEBUG_CFLAGS/$(BUILDARCH)) | ||
15 | ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),) | ||
16 | - FASTDEBUG_CFLAGS += -gstabs | ||
17 | + FASTDEBUG_CFLAGS += -g | ||
18 | endif | ||
19 | |||
20 | OPT_CFLAGS/ia64 = -g | ||
21 | @@ -254,7 +254,7 @@ | ||
22 | OPT_CFLAGS/zero = -g | ||
23 | OPT_CFLAGS += $(OPT_CFLAGS/$(BUILDARCH)) | ||
24 | ifeq ($(OPT_CFLAGS/$(BUILDARCH)),) | ||
25 | - OPT_CFLAGS += -gstabs | ||
26 | + OPT_CFLAGS += -g | ||
27 | endif | ||
28 | endif | ||
29 | |||
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 = " \ | |||
81 | file://icedtea-jdk-sane-x86-arch.patch;apply=no \ | 81 | file://icedtea-jdk-sane-x86-arch.patch;apply=no \ |
82 | file://icedtea-flags.patch;apply=no \ | 82 | file://icedtea-flags.patch;apply=no \ |
83 | file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \ | 83 | file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \ |
84 | file://icedtea-change-to-gdb-debug-format.patch;apply=no \ | ||
84 | " | 85 | " |
85 | 86 | ||
86 | export DISTRIBUTION_PATCHES = " \ | 87 | export DISTRIBUTION_PATCHES = " \ |
@@ -91,4 +92,5 @@ export DISTRIBUTION_PATCHES = " \ | |||
91 | patches/icedtea-jdk-sane-x86-arch.patch \ | 92 | patches/icedtea-jdk-sane-x86-arch.patch \ |
92 | patches/icedtea-flags.patch \ | 93 | patches/icedtea-flags.patch \ |
93 | patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ | 94 | patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ |
95 | patches/icedtea-change-to-gdb-debug-format.patch \ | ||
94 | " | 96 | " |