From: Khem Raj Date: Wed, 19 Dec 2018 20:23:14 +0000 (-0800) Subject: libxcrypt: Fix nativesdk build with gcc9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75be3b2fb51539ae620b1422704458c18061fd0b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libxcrypt: Fix nativesdk build with gcc9 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb b/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb index 5e5d7c077c4..594203a59c3 100644 --- a/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb +++ b/meta/recipes-core/libxcrypt/libxcrypt_4.4.1.bb @@ -25,5 +25,6 @@ S = "${WORKDIR}/git" BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE} -std=gnu99" TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error=missing-attributes" +CPPFLAGS_append_class-nativesdk = " -Wno-error=missing-attributes" BBCLASSEXTEND = "nativesdk"