[oe-commits] [openembedded-core] 06/06: ltp: Work around stringformat security flags issues

git at git.openembedded.org git at git.openembedded.org
Mon Feb 25 10:57:49 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit ce0e5719c9b10121c32be67237b88b0289499f2f
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Feb 25 10:52:08 2019 +0000

    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 <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/ltp/ltp_20190115.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/ltp/ltp_20190115.bb b/meta/recipes-extended/ltp/ltp_20190115.bb
index 4bc9224..ed1cb27 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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list