summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mdadm/mdadm_4.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-10-14 08:48:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-04 17:23:55 +0000
commit221c4877f1ea920627196e716a6327a3e398aa27 (patch)
tree95577576a85ef0276e244a00d5bc1b0c570a8cae /meta/recipes-extended/mdadm/mdadm_4.0.bb
parente303b3cadc495d02ccdd4cf25f24ee8512dc729b (diff)
downloadpoky-221c4877f1ea920627196e716a6327a3e398aa27.tar.gz
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 (From OE-Core rev: 8dae7b56b85e098eda1517eb7f50f37c57fb3ba6) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mdadm/mdadm_4.0.bb')
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/mdadm/mdadm_4.0.bb b/meta/recipes-extended/mdadm/mdadm_4.0.bb
index 506b0bc315..dc098f19b6 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.0.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.0.bb
@@ -21,6 +21,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
21 file://0003-Replace-snprintf-with-strncpy-at-some-places-to-avoi.patch \ 21 file://0003-Replace-snprintf-with-strncpy-at-some-places-to-avoi.patch \
22 file://0004-mdadm-Forced-type-conversion-to-avoid-truncation.patch \ 22 file://0004-mdadm-Forced-type-conversion-to-avoid-truncation.patch \
23 file://0005-Add-a-comment-to-indicate-valid-fallthrough.patch \ 23 file://0005-Add-a-comment-to-indicate-valid-fallthrough.patch \
24 file://0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch \
24 " 25 "
25SRC_URI[md5sum] = "2cb4feffea9167ba71b5f346a0c0a40d" 26SRC_URI[md5sum] = "2cb4feffea9167ba71b5f346a0c0a40d"
26SRC_URI[sha256sum] = "1d6ae7f24ced3a0fa7b5613b32f4a589bb4881e3946a5a2c3724056254ada3a9" 27SRC_URI[sha256sum] = "1d6ae7f24ced3a0fa7b5613b32f4a589bb4881e3946a5a2c3724056254ada3a9"