From ec22dc2bc40991c18862b8623fc4d7d1d3aa594e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 21 Sep 2017 20:23:10 -0700 Subject: yp-tools: Ignore cpp warnings as errors -Wno-error=\#Warnings is too clang'ish, gcc doesnt like it use an option that common for both compilers Signed-off-by: Khem Raj Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/nis/yp-tools_4.2.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/nis/yp-tools_4.2.2.bb b/meta-networking/recipes-support/nis/yp-tools_4.2.2.bb index a3f0a7698..9ac973812 100644 --- a/meta-networking/recipes-support/nis/yp-tools_4.2.2.bb +++ b/meta-networking/recipes-support/nis/yp-tools_4.2.2.bb @@ -33,7 +33,7 @@ CACHED_CONFIGUREVARS += "ac_cv_prog_STRIP=/bin/true" EXTRA_OECONF = " \ --disable-rpath --disable-domainname \ " -CFLAGS_append_libc-musl = " -Wno-error=\#warnings" +CFLAGS_append_libc-musl = " -Wno-error=cpp" FILES_${PN} += " ${libdir}/yp-nis/*.so.*.* ${libdir}/yp-nis/pkgconfig/" FILES_${PN}-dbg += " ${libdir}/yp-nis/.debug" -- cgit v1.2.3-54-g00ecf