Leaving -Wcross out of the bbnote version of the autoreconf command
seems to be a long standing inconsistency (dating back to the very
first commit in oe-core) but there's no obvious reason to do so.

Signed-off-by: Andre McCurdy <armccu...@gmail.com>
---
 meta/classes/autotools.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index cc857ac..81d3674 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -225,7 +225,7 @@ autotools_do_configure() {
                        find ${S} -ignore_readdir_race -name $i -delete
                done
 
-               bbnote Executing ACLOCAL=\"$ACLOCAL\" autoreconf --verbose 
--install --force ${EXTRA_AUTORECONF} $acpaths
+               bbnote Executing ACLOCAL=\"$ACLOCAL\" autoreconf -Wcross 
--verbose --install --force ${EXTRA_AUTORECONF} $acpaths
                ACLOCAL="$ACLOCAL" autoreconf -Wcross --verbose --install 
--force ${EXTRA_AUTORECONF} $acpaths || die "autoreconf execution failed."
                cd $olddir
        fi
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to