summaryrefslogtreecommitdiffstats
path: root/package/gcc/4.9.0/302-c99-snprintf.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-04-23 22:00:30 -0300
committerPeter Korsgaard <peter@korsgaard.com>2014-04-24 13:44:53 +0200
commit35f11bb436e6e1401a36814097aa11b58e9934a6 (patch)
tree9bcc1f24f4f6ddf4558253dd7cbfd5aed9a6425b /package/gcc/4.9.0/302-c99-snprintf.patch
parented32ed86cb784f0e17a88d275702a5c65334714b (diff)
downloadbuildroot-35f11bb436e6e1401a36814097aa11b58e9934a6.tar.gz
buildroot-35f11bb436e6e1401a36814097aa11b58e9934a6.zip
toolchain: add gcc 4.9 series
Add the recently released gcc 4.9.0. Use 4.8.2 patches and remove those that no longer apply/are needed (mostly PR fixes and xtensa). libmudflap was removed upstream. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/4.9.0/302-c99-snprintf.patch')
-rw-r--r--package/gcc/4.9.0/302-c99-snprintf.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/4.9.0/302-c99-snprintf.patch b/package/gcc/4.9.0/302-c99-snprintf.patch
new file mode 100644
index 0000000000..cd4d2ccfb6
--- /dev/null
+++ b/package/gcc/4.9.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
OpenPOWER on IntegriCloud