From e54d71321ed6ac8b908bfb47122b0b7ac9f9a355 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 1 Mar 2012 15:23:49 -0800 Subject: libg/eglibc: add updated eglibc 2.15 Includes a patch to remove __builtin_expect test: In eglibc-2.15, the build breaks in configure while testing for the existance of __builtin_expect. It fails with newer versions of gcc. This patch is a modification of an upstream change in glibc mainline (to be 2.16) to fix the following error: [CFG ] checking for __builtin_expect... no [ERROR] configure: error: support for __builtin_expect needed http://sourceware.org/git/?p=glibc.git;a=commit;h=3857022a761ea7251f8e5c0e45d382ebc3e34cf9 Signed-off-by: Bryan Hundven [yann.morin.1998@free.fr: coalesce both patches into a single changeset] Signed-off-by: "Yann E. MORIN" --- config/libc/eglibc.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'config/libc') diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in index 6e96d141..5ca45797 100644 --- a/config/libc/eglibc.in +++ b/config/libc/eglibc.in @@ -18,6 +18,12 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW +config LIBC_EGLIBC_V_2_15 + bool + prompt "2_15" + depends on EXPERIMENTAL + select LIBC_EGLIBC_2_15_or_later + config LIBC_EGLIBC_V_2_14 bool prompt "2_14" @@ -83,6 +89,7 @@ config LIBC_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "2_15" if LIBC_EGLIBC_V_2_15 default "2_14" if LIBC_EGLIBC_V_2_14 default "2_13" if LIBC_EGLIBC_V_2_13 default "2_12" if LIBC_EGLIBC_V_2_12 @@ -95,6 +102,10 @@ config LIBC_VERSION default "2_5" if LIBC_EGLIBC_V_2_5 default "trunk" if LIBC_EGLIBC_V_TRUNK +config LIBC_EGLIBC_2_15_or_later + bool + select LIBC_EGLIBC_2_14_or_later + config LIBC_EGLIBC_2_14_or_later bool select LIBC_EGLIBC_2_13_or_later -- cgit v1.2.3