diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-08-30 17:51:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 23:45:43 +0100 |
commit | 6336c5bafe617e775037d5243d4bb5e236e74679 (patch) | |
tree | 16dd11e45a4acdd3f2c3325e4fb5d1eb2c05ae7e /meta/recipes-devtools/flex/flex_2.6.0.bb | |
parent | c1ab87caae92a58b1dfab7abc1a856fab102e3ed (diff) | |
download | openembedded-core-contrib-6336c5bafe617e775037d5243d4bb5e236e74679.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.bb | 1 |
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)} \ " |