Remove -Werror, since it is suitable to develop only; otherwise when
gcc adds -O0 option to compile codes, the error will be generated
since the warning:
//# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
S = "${WORKDIR}/git"
+do_configure_prepend() {
+ sed -i "s:-Werror::g" ${S}/Makefile
+}
+
do_install() {
install -d ${D}${bindir}
install -m 0755 mmc ${D}${bindir}