]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
xxhash: fix build with gcc 12
authorKai Kang <kai.kang@windriver.com>
Fri, 10 Jun 2022 06:54:38 +0000 (14:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Jun 2022 09:28:12 +0000 (10:28 +0100)
commit3464c67cd34acbb1a6705369e34dee8af7e348ac
tree6f827bddfc7a4eb6adaf4d002a74313302763710
parent6420c8a6a8143f53ccad7ab2d56b2ba06db83099
xxhash: fix build with gcc 12

It fails to compile xxhash when '-Og' is set in CFLAGS via such as set
DEBUG_BUILD = '1' in local.conf. Check and disable inline when '-Og'
exists.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/xxhash/xxhash_0.8.1.bb