Skip to contentSkip to conversation

openocd: Add --disable-werror always

PATCH New Khem Raj 1 participant 1 message Sep 11, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

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

---
 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
index ab2fd7f721..241b4baa33 100644
@@ -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