diff options
author | Frans Meulenbroeks <fransmeulenbroeks@yahoo.com> | 2006-07-01 10:20:28 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-01 10:20:28 +0000 |
commit | 22c0c4f6a815bd0554821f24acf5e979f3da0722 (patch) | |
tree | 78737f45608d0aa8fc6661d6d76ef2f042646c8f /packages | |
parent | 06a933e4b57759fe9924a4a66aedbb71e9112d1d (diff) |
autoconf: changed the sizeof patch a little bit;
gcc 4.1.1 optimisations would cause this to fail
this patch makes sure x is referenced and cannot be optimised away
Diffstat (limited to 'packages')
-rw-r--r-- | packages/autoconf/autoconf-2.59/sizeof_types.patch | 2 | ||||
-rw-r--r-- | packages/autoconf/autoconf_2.59.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/autoconf/autoconf-2.59/sizeof_types.patch b/packages/autoconf/autoconf-2.59/sizeof_types.patch index 9a6e47453e..0f1e0d1fee 100644 --- a/packages/autoconf/autoconf-2.59/sizeof_types.patch +++ b/packages/autoconf/autoconf-2.59/sizeof_types.patch @@ -36,7 +36,7 @@ +[ +if test "$AS_TR_SH([ac_cv_type_$1])" = yes; then +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT([$3])], -+ [static const $1 x[[256]];])], ++ [extern void dummy($1); static const $1 x[[256]]; dummy(x);])], + [ + AS_TR_SH([ac_cv_sizeof_$1])=`$SIZE conftest.$ac_objext | tail -n 1 | $AWK '{print [$]3/256}'` + ], diff --git a/packages/autoconf/autoconf_2.59.bb b/packages/autoconf/autoconf_2.59.bb index 3cc962da01..505b2bec9e 100644 --- a/packages/autoconf/autoconf_2.59.bb +++ b/packages/autoconf/autoconf_2.59.bb @@ -6,7 +6,7 @@ SECTION = "devel" DEPENDS += "m4-native" RDEPENDS_${PN} = "m4 gnu-config" RRECOMMENDS_${PN} = "automake" -PR = "r4" +PR = "r5" SRC_URI = "${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.bz2 \ file://program_prefix.patch;patch=1 \ |