summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/xxhash/xxhash_0.8.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/xxhash/xxhash_0.8.1.bb')
-rw-r--r--meta/recipes-support/xxhash/xxhash_0.8.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/xxhash/xxhash_0.8.1.bb b/meta/recipes-support/xxhash/xxhash_0.8.1.bb
index b3b9702598..222ba7b77c 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
}