diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-09-11 14:22:41 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-11 14:24:30 -0700 |
commit | 054804de14224499d103fb11327ab62363c5e0ca (patch) | |
tree | 2ea3fa8eef5935e54e57577045c29e0b63cc82aa /meta-oe/recipes-devtools | |
parent | 2c97f18706be3d62133b8bb77ad24464b6d5e6a5 (diff) | |
download | meta-openembedded-054804de14224499d103fb11327ab62363c5e0ca.tar.gz |
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/openocd/openocd_git.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb index ab2fd7f72..241b4baa3 100644 --- a/meta-oe/recipes-devtools/openocd/openocd_git.bb +++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb | |||
@@ -26,8 +26,8 @@ inherit pkgconfig autotools-brokensep gettext | |||
26 | 26 | ||
27 | BBCLASSEXTEND += "nativesdk" | 27 | BBCLASSEXTEND += "nativesdk" |
28 | 28 | ||
29 | EXTRA_OECONF = "--enable-ftdi --disable-doxygen-html" | 29 | EXTRA_OECONF = "--enable-ftdi --disable-doxygen-html --disable-werror" |
30 | EXTRA_OECONF_append_toolchain-gcc = " --disable-werror " | 30 | |
31 | do_configure() { | 31 | do_configure() { |
32 | ./bootstrap nosubmodule | 32 | ./bootstrap nosubmodule |
33 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/jimtcl/autosetup | 33 | install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/jimtcl/autosetup |