]> code.ossystems Code Review - openembedded-core.git/commit
mdadm: Fix build with gcc < 7
authorKhem Raj <raj.khem@gmail.com>
Sat, 14 Oct 2017 15:48:58 +0000 (08:48 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Dec 2017 17:14:20 +0000 (17:14 +0000)
commit8dae7b56b85e098eda1517eb7f50f37c57fb3ba6
tree7b834dccb989c82eb3be88cd0c019ed03627f887
parentf6be81b1dddc7adc2e97fefb2bd6c296d4dce8c6
mdadm: Fix build with gcc < 7

Do not rely on build host gcc for "implicit-fallthrough" support
we need to check the CC for it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit b36100bb3077947361c858f891eb15a76013671e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-extended/mdadm/files/0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch [new file with mode: 0644]
meta/recipes-extended/mdadm/mdadm_4.0.bb