[yocto] [meta-security][PATCH] libewf: GCC5.x build fix

Armin Kuster akuster808 at gmail.com
Wed May 6 12:56:06 PDT 2015


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 <akuster808 at 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




More information about the yocto mailing list