]> code.ossystems Code Review - openembedded-core.git/commit
libxcrypt: Fix the build with -Os
authorAdrian Bunk <bunk@stusta.de>
Thu, 29 Aug 2019 10:09:41 +0000 (13:09 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 31 Aug 2019 07:44:19 +0000 (08:44 +0100)
commit5d4720dfc8ec29ff3f487f84c5c874678ba20851
tree704e2c95904ef90752ee3a8380e88cbe8eeb461f
parent823c04c455e921aaed2d5edf064d82c6a4938c64
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]);
|              ^~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/libxcrypt/libxcrypt_4.4.6.bb