> On Jun 25, 2015, at 6:30 PM, [email protected] wrote: > > From: Roy Li <[email protected]> > > 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 <[email protected]> > --- > meta/recipes-devtools/mmc/mmc-utils_git.bb | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb > b/meta/recipes-devtools/mmc/mmc-utils_git.bb > index bdb4fed..8950360 100644 > --- a/meta/recipes-devtools/mmc/mmc-utils_git.bb > +++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb > @@ -13,6 +13,10 @@ SRC_URI = > "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branc > > S = "${WORKDIR}/git" > > +do_configure_prepend() { > + sed -i "s:-Werror::g" ${S}/Makefile > +} > +
this should be only down when DEBUG_BUILD is set not unconditionally like this.
> do_install() {
> install -d ${D}${bindir}
> install -m 0755 mmc ${D}${bindir}
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
