summaryrefslogtreecommitdiffstats
path: root/package/linknx/0002-src-suncalc.cpp-fix-build-with-gcc-6.x.patch
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2016-08-19 14:19:36 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-19 14:39:42 +0200
commit19765d838f5308976bcbe6b892a33a2cd9dc1882 (patch)
tree7e851b9e7b0cef1b0f3ffe7336c7a77daae96787 /package/linknx/0002-src-suncalc.cpp-fix-build-with-gcc-6.x.patch
parent803d21e4ad5ac27803da342f99620b70f905c92e (diff)
downloadbuildroot-19765d838f5308976bcbe6b892a33a2cd9dc1882.tar.gz
buildroot-19765d838f5308976bcbe6b892a33a2cd9dc1882.zip
tinycbor: exclude Blackfin ADI toolchain
As tinycbor uses fopencookie() which is not available with the Blackfin ADI external toolchain (UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not enabled), add a dependency on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX. This avoids the following build failure: src/open_memstream.c: In function ‘open_memstream’: src/open_memstream.c:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vtable’ src/open_memstream.c:105: error: ‘vtable’ undeclared (first use in this function) src/open_memstream.c:105: error: (Each undeclared identifier is reported only once src/open_memstream.c:105: error: for each function it appears in.) src/open_memstream.c:105: error: expected expression before ‘{’ token src/open_memstream.c:111: warning: implicit declaration of function ‘fopencookie’ src/open_memstream.c:111: warning: return makes pointer from integer without a cast Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> [Thomas: improve commit message.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linknx/0002-src-suncalc.cpp-fix-build-with-gcc-6.x.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud