From 705faba48466856e937be1c03b9cdae455250ad7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 23 Jul 2017 17:22:53 -0700 Subject: nonclangable: Dont error on Wimplicit-fallthrough in mdadm This option is added in OE-Core to workaround build issues with gcc7 we disable triggerring on treating this as error when clang finds it and says its not a known option Signed-off-by: Khem Raj --- conf/nonclangable.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf') diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 723a399..94b6924 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -121,3 +121,6 @@ CFLAGS_append_pn-libaio_toolchain-clang_mips = " -fheinous-gnu-extensions" #| ^ # also see http://lists.llvm.org/pipermail/llvm-dev/2016-October/105997.html TOOLCHAIN_pn-pixman = "gcc" + +#| error: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Werror,-Wunknown-warning-option] +CFLAGS_append_pn-mdadm_toolchain-clang = " -Wno-error=unknown-warning-option" -- cgit v1.2.3-54-g00ecf