summaryrefslogtreecommitdiffstats
path: root/package/gcc/4.7.4/844-gcc-fix-build-with-gcc5.patch
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2016-10-15 16:50:58 +0200
committerPeter Korsgaard <peter@korsgaard.com>2016-10-15 23:14:44 +0200
commita7c13c1b288b1134b06d1e14c6ff008b4ed26ff9 (patch)
treeb17002c5d2259ecba4e0e576589389cb8b11aea5 /package/gcc/4.7.4/844-gcc-fix-build-with-gcc5.patch
parentd8878112ad3df2a3d9468cf40a2401b581e7e432 (diff)
downloadbuildroot-a7c13c1b288b1134b06d1e14c6ff008b4ed26ff9.tar.gz
buildroot-a7c13c1b288b1134b06d1e14c6ff008b4ed26ff9.zip
gcc: remove deprecated 4.7.x
We will remove BR2_DEPRECATED, so remove this deprecated option. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/4.7.4/844-gcc-fix-build-with-gcc5.patch')
-rw-r--r--package/gcc/4.7.4/844-gcc-fix-build-with-gcc5.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/package/gcc/4.7.4/844-gcc-fix-build-with-gcc5.patch b/package/gcc/4.7.4/844-gcc-fix-build-with-gcc5.patch
deleted file mode 100644
index b076e5438e..0000000000
--- a/package/gcc/4.7.4/844-gcc-fix-build-with-gcc5.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-From 4fb4acf88912dd978bb63ecab79641a5795ce84f Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@openwide.fr>
-Date: Mon, 27 Jul 2015 15:05:14 +0200
-Subject: [PATCH] gcc: fix build with gcc5
-
-gcc < 4.8 doesn't build with gcc5.
-
-Patch is from DragonFlyBSD github [1]
-
-[1] https://github.com/DragonFlyBSD/DPorts/issues/136
-
-Signed-off-by: Romain Naour <romain.naour@openwide.fr>
----
- gcc/cp/cfns.h | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
-index 62cdfab..4f63cc4 100644
---- a/gcc/cp/cfns.h
-+++ b/gcc/cp/cfns.h
-@@ -53,6 +53,9 @@ __inline
- static unsigned int hash (const char *, unsigned int);
- #ifdef __GNUC__
- __inline
-+#ifdef __GNUC_STDC_INLINE__
-+__attribute__ ((__gnu_inline__))
-+#endif
- #endif
- const char * libc_name_p (const char *, unsigned int);
- /* maximum key range = 391, duplicates = 0 */
-@@ -96,7 +99,7 @@ hash (register const char *str, register unsigned int len)
- 400, 400, 400, 400, 400, 400, 400, 400, 400, 400,
- 400, 400, 400, 400, 400, 400, 400
- };
-- register int hval = len;
-+ register int hval = (int)len;
-
- switch (hval)
- {
---
-2.4.3
-
OpenPOWER on IntegriCloud