diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2016-05-18 11:10:52 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-18 20:50:30 +0100 |
commit | eff84a76acea1a0842194106a66684511f409842 (patch) | |
tree | b1999b2cb24c34799be72edb40021289dd0181d2 /meta/recipes-devtools/gcc/gcc-4.9.inc | |
parent | e8898f018862e7e398ea84732a11630e30fb2ceb (diff) | |
download | poky-eff84a76acea1a0842194106a66684511f409842.tar.gz |
gcc-4.9: fix build with gcc 6
Building gcc-cross 4.9.3 with gcc 6 fails with the following error:
error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute
This is a backport of the upstream fix.
(From OE-Core rev: 178c1253c4e50d287476436abc92781fa96ef4fc)
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.9.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index 208e092e1d..0cd9826577 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc | |||
@@ -91,6 +91,7 @@ SRC_URI = "\ | |||
91 | file://0073-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \ | 91 | file://0073-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \ |
92 | file://0074-fdebug-prefix-map-support-to-remap-relative-path.patch \ | 92 | file://0074-fdebug-prefix-map-support-to-remap-relative-path.patch \ |
93 | file://0075-libgcc-use-ldflags.patch \ | 93 | file://0075-libgcc-use-ldflags.patch \ |
94 | file://0076-Fix-build-with-gcc-6.patch \ | ||
94 | " | 95 | " |
95 | SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327" | 96 | SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327" |
96 | SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e" | 97 | SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e" |