summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.8.0/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-03-23 22:26:29 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-24 12:46:08 +0100
commitb8103112ea8d9d03647a60f45768494dc14eaa1b (patch)
treeea94d21488ad9f34cd9d00c2008181ea0b869472 /toolchain/gcc/4.8.0/302-c99-snprintf.patch
parente30c5bc58e35b1043f0fe619b6aca122558344d0 (diff)
downloadbuildroot-novena-b8103112ea8d9d03647a60f45768494dc14eaa1b.tar.gz
buildroot-novena-b8103112ea8d9d03647a60f45768494dc14eaa1b.zip
gcc: add support for gcc 4.8
This commit adds support for the recently released gcc 4.8. We re-add the same patch series as the one used for 4.7.x, after refreshing the patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gcc/4.8.0/302-c99-snprintf.patch')
-rw-r--r--toolchain/gcc/4.8.0/302-c99-snprintf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/4.8.0/302-c99-snprintf.patch b/toolchain/gcc/4.8.0/302-c99-snprintf.patch
new file mode 100644
index 000000000..cd4d2ccfb
--- /dev/null
+++ b/toolchain/gcc/4.8.0/302-c99-snprintf.patch
@@ -0,0 +1,13 @@
+Index: gcc-4.8.0/libstdc++-v3/include/c_global/cstdio
+===================================================================
+--- gcc-4.8.0.orig/libstdc++-v3/include/c_global/cstdio 2013-02-03 18:54:05.000000000 +0100
++++ gcc-4.8.0/libstdc++-v3/include/c_global/cstdio 2013-03-23 17:39:32.000000000 +0100
+@@ -138,7 +138,7 @@
+ using ::vsprintf;
+ } // namespace
+
+-#if _GLIBCXX_USE_C99
++#if _GLIBCXX_USE_C99 || defined __UCLIBC__
+
+ #undef snprintf
+ #undef vfscanf