]> code.ossystems Code Review - openembedded-core.git/commitdiff
ltp: Work around stringformat security flags issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 10:52:08 +0000 (10:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 10:56:07 +0000 (10:56 +0000)
ltp doesn't build cleanly with the stringformat security flags, work around
this until upstream sorts out the issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/ltp/ltp_20190115.bb

index 4bc9224a1d14d2319d98624342c154e558d1a4ef..ed1cb27112c55fb95f40104956121ed589a77443 100644 (file)
@@ -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 \