diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-25 10:52:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-25 10:56:17 +0000 |
commit | 11cdf4c5d9dad1abbe019541404e5efcf7279b37 (patch) | |
tree | 33b60385bd374f1b37f245415b15a18f7fd2a835 /meta/recipes-extended/ltp | |
parent | 471168b615112e8dee61a9d4722ed032873fcf78 (diff) | |
download | poky-11cdf4c5d9dad1abbe019541404e5efcf7279b37.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/ltp')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20190115.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20190115.bb b/meta/recipes-extended/ltp/ltp_20190115.bb index 4bc9224a1d..ed1cb27112 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__" | |||
29 | CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" | 29 | CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" |
30 | SRCREV = "a6a5caef13632e669dda27b0461726eba546a2f3" | 30 | SRCREV = "a6a5caef13632e669dda27b0461726eba546a2f3" |
31 | 31 | ||
32 | # ltp doesn't currently build cleanly with | ||
33 | # "-Wformat -Wformat-security -Werror=format-security" in CFLAGS | ||
34 | # remove this when it does | ||
35 | SECURITY_STRINGFORMAT = "" | ||
36 | |||
32 | SRC_URI = "git://github.com/linux-test-project/ltp.git \ | 37 | SRC_URI = "git://github.com/linux-test-project/ltp.git \ |
33 | file://0004-build-Add-option-to-select-libc-implementation.patch \ | 38 | file://0004-build-Add-option-to-select-libc-implementation.patch \ |
34 | file://0005-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch \ | 39 | file://0005-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch \ |