diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-30 17:30:11 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-30 17:30:11 +0100 |
commit | d72530b6ebf2009eb2c9f9c7cb6222c140b711b4 (patch) | |
tree | 29c66c8a0f1fb0715c4b9cb922d065f5c8b5fb6a /package/valgrind/patches/patch-configure | |
parent | 202e4390b1cad4941c78e7ddef15e9006f6a79ec (diff) |
fix make allmodconfig for alix1c-eglibc
Diffstat (limited to 'package/valgrind/patches/patch-configure')
-rw-r--r-- | package/valgrind/patches/patch-configure | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/package/valgrind/patches/patch-configure b/package/valgrind/patches/patch-configure index c49444d12..9867b5309 100644 --- a/package/valgrind/patches/patch-configure +++ b/package/valgrind/patches/patch-configure @@ -23,15 +23,15 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ + +#include <features.h> +#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 10) -+ GLIBC_210 ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 11) ++ GLIBC_211 + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "GLIBC_210" >/dev/null 2>&1; then -+ libc="2.10" ++ $EGREP "GLIBC_211" >/dev/null 2>&1; then ++ libc="2.11" +fi +rm -f conftest* + @@ -42,12 +42,12 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $ DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" ;; -+ 2.10) -+ echo "$as_me:$LINENO: result: 2.10 family" >&5 -+echo "${ECHO_T}2.10 family" >&6 ++ 2.11) ++ echo "$as_me:$LINENO: result: 2.11 family" >&5 ++echo "${ECHO_T}2.11 family" >&6 + +cat >>confdefs.h <<\_ACEOF -+#define GLIBC_2_10 1 ++#define GLIBC_2_11 1 +_ACEOF + + DEFAULT_SUPP="glibc-2.8.supp ${DEFAULT_SUPP}" |