diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-04-21 12:23:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-11 16:59:18 +0100 |
commit | 1335c252a8037d39157eff8bd7e44e6c837764f9 (patch) | |
tree | 65ffa8b2232b7d0f81064a1a373d499ec3de105d /meta/recipes-sato/puzzles/puzzles_git.bb | |
parent | 947a22d0be6402f7c40b486897f029ead4c8cdea (diff) | |
download | poky-1335c252a8037d39157eff8bd7e44e6c837764f9.tar.gz |
puzzles: Add -Wno-error=format-overflow if compiler supports it
Fixes build with gcc7 in such a way that it keeps working
with older compilers who dont support -Wno-error=format-overflow=
option
(From OE-Core rev: 4b159968d6181155c270e2547706933b9df4d80b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/puzzles/puzzles_git.bb')
-rw-r--r-- | meta/recipes-sato/puzzles/puzzles_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-sato/puzzles/puzzles_git.bb b/meta/recipes-sato/puzzles/puzzles_git.bb index a25c00760a..7b8495ff75 100644 --- a/meta/recipes-sato/puzzles/puzzles_git.bb +++ b/meta/recipes-sato/puzzles/puzzles_git.bb | |||
@@ -14,7 +14,8 @@ SRC_URI = "git://git.tartarus.org/simon/puzzles.git \ | |||
14 | file://0001-Use-labs-instead-of-abs.patch \ | 14 | file://0001-Use-labs-instead-of-abs.patch \ |
15 | file://0001-palisade-Fix-warnings-with-clang-on-arm.patch \ | 15 | file://0001-palisade-Fix-warnings-with-clang-on-arm.patch \ |
16 | file://0001-Clarify-conditions-to-avoid-compiler-errors.patch \ | 16 | file://0001-Clarify-conditions-to-avoid-compiler-errors.patch \ |
17 | " | 17 | file://0001-Use-Wno-error-format-overflow-if-the-compiler-suppor.patch \ |
18 | " | ||
18 | SRCREV = "8dfe5cec31e784e4ece2955ecc8cc35ee7e8fbb3" | 19 | SRCREV = "8dfe5cec31e784e4ece2955ecc8cc35ee7e8fbb3" |
19 | PE = "1" | 20 | PE = "1" |
20 | PV = "0.0+git${SRCPV}" | 21 | PV = "0.0+git${SRCPV}" |