From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Tue, 25 Jun 2019 11:05:24 +0200 Subject: [Buildroot] [PATCH v1] libcdaudio: fix compile on host systems without C++ support In-Reply-To: <20190623214605.14a93a24@windsurf> (Thomas Petazzoni's message of "Sun, 23 Jun 2019 21:46:05 +0200") References: <20190113214722.15104-1-ps.report@gmx.net> <20190623214605.14a93a24@windsurf> Message-ID: <87sgryhw6j.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Thomas" == Thomas Petazzoni writes: > On Sun, 13 Jan 2019 22:47:22 +0100 > Peter Seiderer 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 > 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