* [Buildroot] [PATCH 1/1] package/beecrypt: fix build without C++
@ 2019-03-01 20:18 Fabrice Fontaine
2019-03-14 22:26 ` Thomas Petazzoni
2019-03-25 21:17 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-03-01 20:18 UTC (permalink / raw)
To: buildroot
Do not check for C++ compiler as C++ support has been disabled since
commit dd4d3c18d6753e1224fbe59d91a4b44f39bc38c0 otherwise
build will fail on toolchains without a working C++ compiler:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/data/buildroot/buildroot-test/instance-1/output/build/beecrypt-4.2.1':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Fixes:
- http://autobuild.buildroot.org/results/3c79cc68f1b088ad24daf7f9bd70718d702be577
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
.../0003-don-t-check-for-cplusplus-compiler.patch | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch
diff --git a/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch b/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch
new file mode 100644
index 0000000000..32f167996f
--- /dev/null
+++ b/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch
@@ -0,0 +1,27 @@
+configure.ac: don't check for C++ compiler
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+
+diff -durN beecrypt-4.2.1-orig/configure.ac beecrypt-4.2.1/configure.ac
+--- beecrypt-4.2.1-orig/configure.ac 2019-03-01 19:58:16.516117640 +0100
++++ beecrypt-4.2.1/configure.ac 2019-03-01 21:10:17.707391803 +0100
+@@ -119,9 +119,6 @@
+
+ # Checks for C compiler and preprocessor
+ AC_PROG_CC
+-AC_PROG_CPP
+-AC_PROG_CXX
+-AC_PROG_CXXCPP
+ AM_PROG_AS
+ AC_PROG_LD
+ AC_PROG_LN_S
+@@ -133,9 +130,6 @@
+ AC_LANG_PUSH(C)
+ AC_OPENMP
+ AC_LANG_POP(C)
+-AC_LANG_PUSH(C++)
+-AC_OPENMP
+-AC_LANG_POP(C++)
+
+ # Checks for compiler characteristics and flags
+ if test "$ac_enable_expert_mode" = no; then
--
2.14.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/beecrypt: fix build without C++
2019-03-01 20:18 [Buildroot] [PATCH 1/1] package/beecrypt: fix build without C++ Fabrice Fontaine
@ 2019-03-14 22:26 ` Thomas Petazzoni
2019-03-25 21:17 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-03-14 22:26 UTC (permalink / raw)
To: buildroot
On Fri, 1 Mar 2019 21:18:18 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Do not check for C++ compiler as C++ support has been disabled since
> commit dd4d3c18d6753e1224fbe59d91a4b44f39bc38c0 otherwise
> build will fail on toolchains without a working C++ compiler:
>
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: in `/data/buildroot/buildroot-test/instance-1/output/build/beecrypt-4.2.1':
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>
> Fixes:
> - http://autobuild.buildroot.org/results/3c79cc68f1b088ad24daf7f9bd70718d702be577
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> .../0003-don-t-check-for-cplusplus-compiler.patch | 27 ++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/beecrypt: fix build without C++
2019-03-01 20:18 [Buildroot] [PATCH 1/1] package/beecrypt: fix build without C++ Fabrice Fontaine
2019-03-14 22:26 ` Thomas Petazzoni
@ 2019-03-25 21:17 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-03-25 21:17 UTC (permalink / raw)
To: buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Do not check for C++ compiler as C++ support has been disabled since
> commit dd4d3c18d6753e1224fbe59d91a4b44f39bc38c0 otherwise
> build will fail on toolchains without a working C++ compiler:
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: in `/data/buildroot/buildroot-test/instance-1/output/build/beecrypt-4.2.1':
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> Fixes:
> - http://autobuild.buildroot.org/results/3c79cc68f1b088ad24daf7f9bd70718d702be577
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2018.02.x, 2018.11.x and 2019.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-25 21:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01 20:18 [Buildroot] [PATCH 1/1] package/beecrypt: fix build without C++ Fabrice Fontaine
2019-03-14 22:26 ` Thomas Petazzoni
2019-03-25 21:17 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.