package/dbus-cpp: fix cross-compilation
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 21 Mar 2017 21:33:59 +0000 (22:33 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Mar 2017 22:06:48 +0000 (23:06 +0100)
commitf5dbd0dea159393e779f6a1f5fa53b9fa07ff34a
tree816c99f71952ae3b814ffeb264e9b0de2d258589
parentee8cbc5fca779ff054a50ed8e6271952367147c7
package/dbus-cpp: fix cross-compilation

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@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dbus-cpp/0002-cross-compile-tools.patch [new file with mode: 0644]
package/dbus-cpp/0002-cxxflags-ldflags-for-build.patch [deleted file]