0002-cross-compile-tools.patch 880 B

12345678910111213141516171819202122232425262728293031323334
  1. tools: just do proper cross-compile
  2. Those tools are not used during the build; besides, they are installed.
  3. So they don't need to not be cross-compiled.
  4. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
  5. ---
  6. Upstream status: not submitted, upstream is dead.
  7. diff -durN dbus-cpp-0.9.0.orig/tools/Makefile.am dbus-cpp-0.9.0/tools/Makefile.am
  8. --- dbus-cpp-0.9.0.orig/tools/Makefile.am 2017-03-21 21:48:57.013409423 +0100
  9. +++ dbus-cpp-0.9.0/tools/Makefile.am 2017-03-21 21:49:35.329979798 +0100
  10. @@ -1,7 +1,3 @@
  11. -# hacky, but ...
  12. -
  13. -CXX = $(CXX_FOR_BUILD)
  14. -
  15. AM_CPPFLAGS = \
  16. $(dbus_CFLAGS) \
  17. $(xml_CFLAGS) \
  18. @@ -9,11 +3,7 @@
  19. -I$(top_builddir)/include \
  20. -Wall
  21. -if CROSS_COMPILING
  22. -libdbus_cxx_la = $(BUILD_LIBDBUS_CXX_DIR)/src/libdbus-c++-1.la
  23. -else
  24. libdbus_cxx_la = $(top_builddir)/src/libdbus-c++-1.la
  25. -endif
  26. bin_PROGRAMS = dbusxx-xml2cpp dbusxx-introspect