* [Buildroot] [git commit] package/qpid-proton: fix build without C++
@ 2021-04-02 21:50 Yann E. MORIN
0 siblings, 0 replies; only message in thread
From: Yann E. MORIN @ 2021-04-02 21:50 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=64f34fbcfeb373b839d43bb986812714540cec07
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
- http://autobuild.buildroot.org/results/05f344151100219c159ca4d466a453df96bf07fa
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998 at free.fr:
- move code in thread condition, to avoid setting -DBUILD_CPP twice
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
---
package/qpid-proton/qpid-proton.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/qpid-proton/qpid-proton.mk b/package/qpid-proton/qpid-proton.mk
index c1bcbd0d1a..4e03357261 100644
--- a/package/qpid-proton/qpid-proton.mk
+++ b/package/qpid-proton/qpid-proton.mk
@@ -33,7 +33,13 @@ QPID_PROTON_CONF_OPTS = \
# epoll proactor unconditionally uses pthread and cpp (C++) bindings
# unconditionally use proactor
-ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
+ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
+ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
+QPID_PROTON_CONF_OPTS += -DBUILD_CPP=ON
+else
+QPID_PROTON_CONF_OPTS += -DBUILD_CPP=OFF
+endif
+else
QPID_PROTON_CONF_OPTS += \
-DBUILD_CPP=OFF \
-DPROACTOR=none
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-02 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 21:50 [Buildroot] [git commit] package/qpid-proton: fix build without C++ Yann E. MORIN
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.