From 1335c252a8037d39157eff8bd7e44e6c837764f9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 21 Apr 2017 12:23:07 -0700 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-sato/puzzles/puzzles_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-sato/puzzles/puzzles_git.bb') 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 \ file://0001-Use-labs-instead-of-abs.patch \ file://0001-palisade-Fix-warnings-with-clang-on-arm.patch \ file://0001-Clarify-conditions-to-avoid-compiler-errors.patch \ -" + file://0001-Use-Wno-error-format-overflow-if-the-compiler-suppor.patch \ + " SRCREV = "8dfe5cec31e784e4ece2955ecc8cc35ee7e8fbb3" PE = "1" PV = "0.0+git${SRCPV}" -- cgit v1.2.3-54-g00ecf