Message ID | 20220610065438.36893-1-kai.kang@windriver.com |
---|---|
State | Accepted, archived |
Commit | 3464c67cd34acbb1a6705369e34dee8af7e348ac |
Headers | show |
Series | xxhash: fix build with gcc 12 | expand |
diff --git a/meta/recipes-support/xxhash/xxhash_0.8.1.bb b/meta/recipes-support/xxhash/xxhash_0.8.1.bb index b3b97025987..222ba7b77c9 100644 --- a/meta/recipes-support/xxhash/xxhash_0.8.1.bb +++ b/meta/recipes-support/xxhash/xxhash_0.8.1.bb @@ -14,6 +14,8 @@ SRCREV = "35b0373c697b5f160d3db26b1cbb45a0d5ba788c" S = "${WORKDIR}/git" +CFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', '-DXXH_NO_INLINE_HINTS', '', d)}" + do_compile () { oe_runmake all }