[Buildroot] [PATCHv2] package/dbus-cpp: fix cross-compilation
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Mar 21 22:07:18 UTC 2017
Hello,
On Tue, 21 Mar 2017 22:33:59 +0100, Yann E. MORIN wrote:
> dbus-cpp has an ugly hack to not cross-build the tools when it detects
> cross-compilation.
>
> However, we already have a host variant that builds those tools (and we
> anyway don't seem to need them to begin with).
>
> Drop our patch that propagates the CXXFLAGS/LDFLAGS_FOR_BUILD. Replace
> with a patch to cross-compile the tools.
>
> Fixes:
> http://autobuild.buildroot.org/results/110/1100539caae6ef62c61a3b96bc54f7c0a215cc62/
> and many, many more.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>
> ---
> Changes v1 -> v2:
> - add missing commit log to patch (Thomas)
> ---
> package/dbus-cpp/0002-cross-compile-tools.patch | 34 ++++++++++++++++++++++
> .../dbus-cpp/0002-cxxflags-ldflags-for-build.patch | 32 --------------------
> 2 files changed, 34 insertions(+), 32 deletions(-)
> create mode 100644 package/dbus-cpp/0002-cross-compile-tools.patch
> delete mode 100644 package/dbus-cpp/0002-cxxflags-ldflags-for-build.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list