lldpd: remove check on CXX compiler
authorDamien Riegel <damien.riegel@savoirfairelinux.com>
Mon, 18 Dec 2017 21:19:35 +0000 (16:19 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 19 Dec 2017 10:01:30 +0000 (11:01 +0100)
commit18c9cda6e4b94aa9426a1355d05b000f69453c6b
tree18f8bff982bc0fb67f779a4a2a3cd62d350edf40
parent95d19955dddfb6c446a4eb9cce5813fe838f0b65
lldpd: remove check on CXX compiler

lldpd currently depends on a C++ compiler to configure properly, but
the package doesn't select that option, so builds fail if
BR2_TOOLCHAIN_BUILDROOT_CXX is not selected with following errors:

  checking how to run the C++ preprocessor... /lib/cpp
  configure: error: in `/home/dkc/src/buildroot/build-zii/build/lldpd-0.9.4':
  configure: error: C++ preprocessor "/lib/cpp" fails sanity check

This package actually builds fine without C++, so drop this check in
configure.ac. Attached patch has already been accepted upstream [1].

[1] https://github.com/vincentbernat/lldpd/pull/261

[Peter: adjust autoreconf comment]
Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Reviewed-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lldpd/0003-configure-remove-check-on-CXX-compiler.patch [new file with mode: 0644]
package/lldpd/lldpd.mk