]> code.ossystems Code Review - openembedded-core.git/commit
libxcrypt: Fix the build with -Os
authorAdrian Bunk <bunk@stusta.de>
Mon, 9 Sep 2019 10:25:19 +0000 (13:25 +0300)
committerArmin Kuster <akuster808@gmail.com>
Mon, 30 Sep 2019 04:38:22 +0000 (21:38 -0700)
commit9a271cf62d7fc7f2f15c3287831383c2cb3b5dd5
tree1efcaf2cc20e1f0ca1df2d9a9cb96f618d6af64e
parentef7a387c8045af08e5db171e944656b9bf15f598
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/libxcrypt/libxcrypt.bb