diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2017-06-29 12:16:19 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-08-10 06:48:17 +0000 |
commit | 0bb90a0bd04bcc79a04936ca5b61f32e6f124825 (patch) | |
tree | 76c6924db31020990e839f5bd5e12573bc7d7e6a | |
parent | 122d3bf3d1e46dd885fd9aa1cdbd552d2e4ee12e (diff) | |
download | meta-boot2qt-0bb90a0bd04bcc79a04936ca5b61f32e6f124825.tar.gz |
gdb: fix build for mingw toolchain
Build fails with "error: '::hypot' has not been declared" due to
python bug (issue11566).
Change-Id: I2d9f42ec4f3271f056488e5456be940cf9b0c69e
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
-rw-r--r-- | recipes/gdb/gdb-cross-canadian_7.%.bbappend | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/gdb/gdb-cross-canadian_7.%.bbappend b/recipes/gdb/gdb-cross-canadian_7.%.bbappend index 9e3c296..0a8319c 100644 --- a/recipes/gdb/gdb-cross-canadian_7.%.bbappend +++ b/recipes/gdb/gdb-cross-canadian_7.%.bbappend | |||
@@ -31,6 +31,7 @@ DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python" | |||
31 | RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python" | 31 | RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python" |
32 | EXTRA_OECONF_remove_sdkmingw32 = " --without-python" | 32 | EXTRA_OECONF_remove_sdkmingw32 = " --without-python" |
33 | EXTRA_OECONF_append_sdkmingw32 = " --with-python" | 33 | EXTRA_OECONF_append_sdkmingw32 = " --with-python" |
34 | CXXFLAGS_append_sdkmingw32 = " -D_hypot=hypot" | ||
34 | 35 | ||
35 | do_install_append_sdkmingw32() { | 36 | do_install_append_sdkmingw32() { |
36 | mkdir -p ${D}${bindir}/lib | 37 | mkdir -p ${D}${bindir}/lib |