summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex/flex_2.6.0.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-08-30 17:51:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:52 +0100
commitbacb105e328b2d145cde9d6def08d51389121570 (patch)
tree18f4ef93256cee3f5c7308f717c38e845d9aad08 /meta/recipes-devtools/flex/flex_2.6.0.bb
parentfef13d890c11a52615592fef261e7d7a1cae91e2 (diff)
downloadpoky-bacb105e328b2d145cde9d6def08d51389121570.tar.gz
flex: fix gcc-6 failure
Gcc-6 does not allow c++ comments withing c-code. Files generated by flex can fail with: | error: C++ style comments are not allowed in ISO C90 | num_to_alloc = 1; // After all that talk, this was set to 1 anyways... (From OE-Core rev: 6336c5bafe617e775037d5243d4bb5e236e74679) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/flex/flex_2.6.0.bb')
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/flex/flex_2.6.0.bb b/meta/recipes-devtools/flex/flex_2.6.0.bb
index f6d136c93e..db2cf1c6d4 100644
--- a/meta/recipes-devtools/flex/flex_2.6.0.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.0.bb
@@ -14,6 +14,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 \
14 file://run-ptest \ 14 file://run-ptest \
15 file://do_not_create_pdf_doc.patch \ 15 file://do_not_create_pdf_doc.patch \
16 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ 16 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
17 file://0002-avoid-c-comments-in-c-code-fails-with-gcc-6.patch \
17 ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \ 18 ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \
18 " 19 "
19 20