no patch has been found in debian and hotspot repo for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881824. The warning was added with gcc 7.
Signed-off-by: Andreas Obergschwandtner <[email protected]> --- recipes-core/icedtea/icedtea7-native.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc index 93463be..453fae3 100644 --- a/recipes-core/icedtea/icedtea7-native.inc +++ b/recipes-core/icedtea/icedtea7-native.inc @@ -24,6 +24,14 @@ CFLAGS_append = " -fno-tree-dse" CXXFLAGS_append = " -fno-tree-dse" CXX_append = " -std=gnu++98" +# Disable format-overflow error with host g++ >= 7.3. +# Bug is reported https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881824 +# but no patch was found for Debian. +FLAGS_GCC7 = " -Wno-error=format-overflow" + +CFLAGS_append = " ${@java_version_specific_cflags(d)}" +CXXFLAGS_append = " ${@java_version_specific_cflags(d)}" + inherit native java autotools pkgconfig JAVA_HOME[unexport] = "1" -- 2.17.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
