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.

(From OE-Core rev: ce0e5719c9b10121c32be67237b88b0289499f2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2019-02-25 10:52:08 +00:00
parent 471168b615
commit 11cdf4c5d9

View 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 \