openocd: Add --disable-werror always
PATCH 1/1 openocd: Add --disable-werror always
toolchain-gcc override is only valid when meta-clang is included in layers, but this knob is actually needed for gcc to work, so having an empty override would not add this option while the default compiler remains gcc
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-devtools/openocd/openocd_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/openocd/openocd_git.bb +2 -2
@@ -26,8 +26,8 @@ inherit pkgconfig autotools-brokensep gettext BBCLASSEXTEND += "nativesdk" -EXTRA_OECONF = "--enable-ftdi --disable-doxygen-html" -EXTRA_OECONF_append_toolchain-gcc = " --disable-werror " +EXTRA_OECONF = "--enable-ftdi --disable-doxygen-html --disable-werror" + do_configure() { ./bootstrap nosubmodule install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/jimtcl/autosetup
Signature · 1 line
2.23.0