cmake-utils.eclass: _ninjaopts_from_makeopts, fix handling of -k
authorMichał Górny <mgorny@gentoo.org>
Sun, 28 Feb 2016 18:38:38 +0000 (19:38 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 26 May 2016 08:09:57 +0000 (10:09 +0200)
commit65719e677340987901e07009419dea5adf475c6d
tree797d78d4fbc8aa041e584d9f47bb44e9b17a07d7
parentf844019b0d3310499937e44d36eac9f1f72df856
cmake-utils.eclass: _ninjaopts_from_makeopts, fix handling of -k

Fix _ninjaopts_from_makeopts to handle -k correctly. Make does not
support parameters to -k, while ninja requires one. Therefore, handle
only a single '-k' and convert it into '-k 0' (no limit of failing
tasks).
eclass/cmake-utils.eclass