summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-09-09 13:25:19 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-30 16:44:42 +0100
commit86beba7ac3a1d59bef517bde87a90226f197541a (patch)
treed2dc8104b1b8e4ebc805ab1b121c50e1616320b2
parent5d9457135f9ecec4a3d2221467d782fbf4b65239 (diff)
downloadpoky-86beba7ac3a1d59bef517bde87a90226f197541a.tar.gz
libxcrypt: Fix the build with -Os
| In file included from ../git/lib/alg-des.c:66: | ../git/lib/alg-des.c: In function '_crypt_des_set_key': | ../git/lib/byteorder.h:24:1: error: inlining failed in call to 'be32_to_cpu': call is unlikely and code size would grow [-Werror=inline] | be32_to_cpu (const unsigned char *buf) | ^~~~~~~~~~~ | ../git/lib/alg-des.c:81:13: note: called from here | rawkey1 = be32_to_cpu (&key[4]); | ^~~~~~~~~~~~~~~~~~~~~ (From OE-Core rev: 9a271cf62d7fc7f2f15c3287831383c2cb3b5dd5) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/libxcrypt/libxcrypt.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/libxcrypt/libxcrypt.bb b/meta/recipes-core/libxcrypt/libxcrypt.bb
index 3b9af6d739..a712e72914 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.bb
+++ b/meta/recipes-core/libxcrypt/libxcrypt.bb
@@ -24,7 +24,7 @@ FILES_${PN} = "${libdir}/libcrypt*.so.* ${libdir}/libcrypt-*.so ${libdir}/libowc
24S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
25 25
26BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE} -std=gnu99" 26BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE} -std=gnu99"
27TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error=missing-attributes" 27TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
28CPPFLAGS_append_class-nativesdk = " -Wno-error=missing-attributes" 28CPPFLAGS_append_class-nativesdk = " -Wno-error"
29 29
30BBCLASSEXTEND = "nativesdk" 30BBCLASSEXTEND = "nativesdk"