We are seeing reproducibility issues where gcc-cross sometimes defaults to gnu11 and other times to gnu17.
Specify std=gnu17 rather than leave this to chance. Signed-off-by: Steve Sakoman <st...@sakoman.com> Signed-off-by: Khem Raj <raj.k...@gmail.com> --- meta/recipes-support/lz4/lz4_1.9.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-support/lz4/lz4_1.9.2.bb b/meta/recipes-support/lz4/lz4_1.9.2.bb index c2e24b518c..8cf71fdc04 100644 --- a/meta/recipes-support/lz4/lz4_1.9.2.bb +++ b/meta/recipes-support/lz4/lz4_1.9.2.bb @@ -23,6 +23,7 @@ S = "${WORKDIR}/git" # Fixed in r118, which is larger than the current version. CVE_CHECK_WHITELIST += "CVE-2014-4715" +CFLAGS_append = " -std=gnu17" EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' CFLAGS='${CFLAGS}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir} BUILD_STATIC=no" do_install() { -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#190430): https://lists.openembedded.org/g/openembedded-core/message/190430 Mute This Topic: https://lists.openembedded.org/mt/102526884/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-