mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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: 5d4720dfc8ec29ff3f487f84c5c874678ba20851) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0458fa6b83
commit
c4f07b04f6
@@ -26,8 +26,8 @@ FILES_${PN} = "${libdir}/libcrypt*.so.* \
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
||||
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error=missing-attributes"
|
||||
CPPFLAGS_append_class-nativesdk = " -Wno-error=missing-attributes"
|
||||
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
|
||||
CPPFLAGS_append_class-nativesdk = " -Wno-error"
|
||||
|
||||
API = "--disable-obsolete-api"
|
||||
EXTRA_OECONF += "${API}"
|
||||
|
||||
Reference in New Issue
Block a user