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:07 +0100 |
commit | 178c1253c4e50d287476436abc92781fa96ef4fc (patch) | |
tree | fcbb824be8c49ae5c40c7f9a20f4eb80b04edbb5 /meta/recipes-devtools/gcc/gcc-4.9.inc | |
parent | cd4ad2b8a5bd11e91e854cea6a36c7b92fb7cea8 (diff) | |
download | openembedded-core-178c1253c4e50d287476436abc92781fa96ef4fc.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.
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 = "\ file://0073-Reuse-fdebug-prefix-map-to-replace-ffile-prefix-map.patch \ file://0074-fdebug-prefix-map-support-to-remap-relative-path.patch \ file://0075-libgcc-use-ldflags.patch \ + file://0076-Fix-build-with-gcc-6.patch \ " SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327" SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e" |