aboutsummaryrefslogtreecommitdiffstats
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-08-31 08:56:49 +0100
commit1a69216603b33435765c1d2c87fc31979b3d010e (patch)
tree696a66d553f38eccbed0c65307db1cdbe0fa4c6e /meta/recipes-devtools/flex/flex_2.6.0.bb
parent9e648061e7f09911c5e471b1d194238d048884b0 (diff)
downloadopenembedded-core-contrib-1a69216603b33435765c1d2c87fc31979b3d010e.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... 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 \
file://run-ptest \
file://do_not_create_pdf_doc.patch \
file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
+ file://0002-avoid-c-comments-in-c-code-fails-with-gcc-6.patch \
${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \
"