From 095fc9a2602df28296c35a6cd627ced0b381c0e8 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 16 Mar 2011 14:51:20 -0700 Subject: [PATCH] gnutls_2.10.4.bb: Workaround gcc 4.5 ICE on ARM Signed-off-by: Khem Raj --- recipes/gnutls/gnutls_2.10.4.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/gnutls/gnutls_2.10.4.bb b/recipes/gnutls/gnutls_2.10.4.bb index 9f406847ac..03397a5301 100644 --- a/recipes/gnutls/gnutls_2.10.4.bb +++ b/recipes/gnutls/gnutls_2.10.4.bb @@ -1,6 +1,6 @@ require gnutls.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" EXTRA_OECONF += " --without-libgcrypt-prefix " @@ -9,6 +9,11 @@ SRC_URI += "file://gettextize-with-gettext-0.18.patch \ file://gnutls-replace-siginterrupt.patch \ " +# This is a workaround to get away with gcc ICE +# as seen here https://bugs.launchpad.net/gcc-linaro/+bug/736439 + +CFLAGS_arm_append = " -O2" + do_configure_prepend() { MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" -- 2.39.5