]> 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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 15 Jun 2022 14:33:06 +0000 (04:33 -1000)
commitd8e454b370089e4a33c8373742178ef4d540e848
tree0873162f8caecdb1a8ba00f46a23bb107c4a1b62
parentd8cb65b2aee311cad4d174e0770bcb6ef51bedf5
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>
(cherry picked from commit 3464c67cd34acbb1a6705369e34dee8af7e348ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-support/xxhash/xxhash_0.8.1.bb