diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-09-21 20:23:10 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-10-11 16:22:49 -0400 |
commit | ec22dc2bc40991c18862b8623fc4d7d1d3aa594e (patch) | |
tree | 2ee6916983191c763041b2f0abfd59672e54e2a5 | |
parent | 1723fb3e03680ddb22a5dcc027174aaf3f268e73 (diff) | |
download | meta-openembedded-ec22dc2bc40991c18862b8623fc4d7d1d3aa594e.tar.gz |
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 <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r-- | meta-networking/recipes-support/nis/yp-tools_4.2.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
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" | |||
33 | EXTRA_OECONF = " \ | 33 | EXTRA_OECONF = " \ |
34 | --disable-rpath --disable-domainname \ | 34 | --disable-rpath --disable-domainname \ |
35 | " | 35 | " |
36 | CFLAGS_append_libc-musl = " -Wno-error=\#warnings" | 36 | CFLAGS_append_libc-musl = " -Wno-error=cpp" |
37 | 37 | ||
38 | FILES_${PN} += " ${libdir}/yp-nis/*.so.*.* ${libdir}/yp-nis/pkgconfig/" | 38 | FILES_${PN} += " ${libdir}/yp-nis/*.so.*.* ${libdir}/yp-nis/pkgconfig/" |
39 | FILES_${PN}-dbg += " ${libdir}/yp-nis/.debug" | 39 | FILES_${PN}-dbg += " ${libdir}/yp-nis/.debug" |