]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: fix autoreconf bbnote commandline arguments
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 24 Jul 2018 02:32:18 +0000 (19:32 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jul 2018 12:16:31 +0000 (13:16 +0100)
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 <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/autotools.bbclass

index cc857acc3e69012a8bdfa1a8faa4b9307577f1d0..81d367415b94c877b3f67305aab3ca89c4112f1a 100644 (file)
@@ -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