From e15ca560241fdf6a10bd68d53118480e3b6e76f8 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 23 Apr 2009 09:44:57 +0000 Subject: add preliminary support for gcc-4.4.0, need to forward port the fhonour-copt patch SVN-Revision: 15345 --- toolchain/gcc/patches/4.4.0/302-c99-snprintf.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 toolchain/gcc/patches/4.4.0/302-c99-snprintf.patch (limited to 'toolchain/gcc/patches/4.4.0/302-c99-snprintf.patch') diff --git a/toolchain/gcc/patches/4.4.0/302-c99-snprintf.patch b/toolchain/gcc/patches/4.4.0/302-c99-snprintf.patch new file mode 100644 index 0000000000..ba51a0e1d4 --- /dev/null +++ b/toolchain/gcc/patches/4.4.0/302-c99-snprintf.patch @@ -0,0 +1,13 @@ +Index: gcc-4.3.0/libstdc++-v3/include/c_global/cstdio +=================================================================== +--- gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (revision 129202) ++++ gcc-4.3.0/libstdc++-v3/include/c_global/cstdio (working copy) +@@ -144,7 +144,7 @@ + + _GLIBCXX_END_NAMESPACE + +-#if _GLIBCXX_USE_C99 ++#if _GLIBCXX_USE_C99 || defined __UCLIBC__ + + #undef snprintf + #undef vfscanf -- cgit v1.2.3