diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2012-03-01 15:23:49 -0800 |
---|---|---|
committer | Bryan Hundven" <bryanhundven@gmail.com> | 2012-03-01 15:23:49 -0800 |
commit | e54d71321ed6ac8b908bfb47122b0b7ac9f9a355 (patch) | |
tree | 65a2903967bc7c25729649ef8c2545685c013766 /config/libc/eglibc.in | |
parent | ffee93e4d24f372e00c82ee0a4ce40b92dc2acee (diff) | |
download | crosstool-ng-e54d71321ed6ac8b908bfb47122b0b7ac9f9a355.tar.gz crosstool-ng-e54d71321ed6ac8b908bfb47122b0b7ac9f9a355.tar.bz2 crosstool-ng-e54d71321ed6ac8b908bfb47122b0b7ac9f9a355.zip |
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 <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: coalesce both patches into a single changeset]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'config/libc/eglibc.in')
-rw-r--r-- | config/libc/eglibc.in | 11 |
1 files changed, 11 insertions, 0 deletions
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 |