From: Richard Purdie Date: Mon, 25 Feb 2019 10:52:08 +0000 (+0000) Subject: ltp: Work around stringformat security flags issues X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce0e5719c9b10121c32be67237b88b0289499f2f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git ltp: Work around stringformat security flags issues ltp doesn't build cleanly with the stringformat security flags, work around this until upstream sorts out the issues. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/ltp/ltp_20190115.bb b/meta/recipes-extended/ltp/ltp_20190115.bb index 4bc9224a1d1..ed1cb27112c 100644 --- a/meta/recipes-extended/ltp/ltp_20190115.bb +++ b/meta/recipes-extended/ltp/ltp_20190115.bb @@ -29,6 +29,11 @@ CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" SRCREV = "a6a5caef13632e669dda27b0461726eba546a2f3" +# ltp doesn't currently build cleanly with +# "-Wformat -Wformat-security -Werror=format-security" in CFLAGS +# remove this when it does +SECURITY_STRINGFORMAT = "" + SRC_URI = "git://github.com/linux-test-project/ltp.git \ file://0004-build-Add-option-to-select-libc-implementation.patch \ file://0005-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch \