[oe] [meta-java][PATCH] icedtea7-native: Fix compilation error due to format-overflow
mohamad.noor.alim.hussin at intel.com
mohamad.noor.alim.hussin at intel.com
Thu Dec 5 02:43:15 UTC 2019
From: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>
Getting a compilaton error due to format-overflow. Workaround
to suppress the error message by ignore the warning.
Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin at intel.com>
---
recipes-core/icedtea/icedtea7-native.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-core/icedtea/icedtea7-native.inc b/recipes-core/icedtea/icedtea7-native.inc
index b578cb2..0329d71 100644
--- a/recipes-core/icedtea/icedtea7-native.inc
+++ b/recipes-core/icedtea/icedtea7-native.inc
@@ -26,7 +26,7 @@ CXXFLAGS_append = " -fno-tree-dse"
CXX_append = " -std=gnu++98"
# WORKAROUND: ignore errors from new compilers
-CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type"
+CFLAGS_append = " -Wno-error=stringop-overflow -Wno-error=return-type -Wno-error=format-overflow"
inherit native java autotools pkgconfig
inherit openjdk-build-helper
--
2.19.1
More information about the Openembedded-devel
mailing list