Fix bug of himeno recipe 77/6777/3
authorNuoHan Qiao <qiaonuohan@cn.fujitsu.com>
Fri, 14 Oct 2016 08:45:06 +0000 (16:45 +0800)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 19 Oct 2016 09:24:30 +0000 (09:24 +0000)
The Makefile hardcods gcc as compiler, then it will be
compiled into wrong format. SO remove it.

Change-Id: I3ab4271d26b4e8cdd2b38aa05421a3dde002297c
Signed-off-by: NuoHan Qiao <qiaonuohan@cn.fujitsu.com>
meta-ivi-common/recipes-test/himeno/himeno_2.0.bb

index 56177b9..f890e23 100644 (file)
@@ -16,6 +16,9 @@ DEPENDS = "p7zip-native"
 
 do_configure_append() {
     7z x -y -o${S} ${WORKDIR}/himenobmt.c.lzh
+    cd ${S}
+    sed -i -e 's/CC= gcc/#CC= gcc/' Makefile
+    sed -i -e 's/CFLAGS = /#CFLAGS = /' Makefile
 }
 
 do_install () {