Fix the following errors.
| ../libsmraw/.libs/libsmraw.a(libuna_utf8_string.o): In function 
`libuna_utf8_string_compare_with_utf32_stream':

Signed-off-by: Armin Kuster <akuster...@gmail.com>
---
 recipes-forensic/libewf/libewf_20130416.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-forensic/libewf/libewf_20130416.bb 
b/recipes-forensic/libewf/libewf_20130416.bb
index c070b80..e9877c9 100644
--- a/recipes-forensic/libewf/libewf_20130416.bb
+++ b/recipes-forensic/libewf/libewf_20130416.bb
@@ -23,4 +23,7 @@ PACKAGECONFIG[python] = "--enable-python, --disable-python, 
python"
 
 EXTRA_OECONF += "--with-gnu-ld --disable-rpath"
 
+#Needed for gcc 5
+CPPFLAGS += " -std=gnu89"
+
 RDEPENDS_${PN} += " util-linux-libuuid"
-- 
2.3.5

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to