[Buildroot] [PATCH v1] libcdaudio: fix compile on host systems without C++ support

Peter Korsgaard peter at korsgaard.com
Tue Jun 25 09:05:24 UTC 2019


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > On Sun, 13 Jan 2019 22:47:22 +0100
 > Peter Seiderer <ps.report at gmx.net> wrote:

 >> Delivered libcdaudio configure tries to run a C++ check with the
 >> host C preprocessor. Fix it by enabling autoreconf  (needs
 >> a patch for configure.ac/Makefile.am removing ancient lines).
 >> 
 >> Fixes [1]:
 >> 
 >> checking how to run the C++ preprocessor... /lib/cpp
 >> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
 >> 
 >> Signed-off-by: Peter Seiderer <ps.report at gmx.net>

 > Contrary to what your commit title says, the problem does not occur
 > when the host system lacks C++ support, it's when the target toolchain
 > doesn't have C++ support. I have an Arch Linux system here (which is
 > where the failure happens), and the host system has C++ support, but
 > doesn't provide /lib/cpp.

 > I fixed up the commit title, commit log, and comment in the .mk file
 > and applied.

Committed to 2019.02.x and 2019.05.x with the same fixes, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list