wvstreams, wvdial: Build with gcc

wvstreams relies on C++ that clang rejects, e.g. access to private and
incomplete nested classes, and so do its headers that wvdial includes.
Upstream is no longer maintained, so build both with gcc when clang is
the default toolchain.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj committed 2026-11-13 09:06:39 -08:00
1 parent 3b7bf6af71
commit 469d99638e
2 files changed
+6

No files matched your search

@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
inherit pkgconfig
# wvstreams headers rely on C++ that clang rejects
TOOLCHAIN = "gcc"
DEPENDS = "wvstreams"
RDEPENDS:${PN} = "ppp"
@@ -36,6 +36,9 @@ COMPATIBLE_HOST:libc-musl = "null"
inherit autotools-brokensep pkgconfig
# Relies on C++ that clang rejects
TOOLCHAIN = "gcc"
TARGET_CFLAGS:append = " -fno-tree-dce -fno-optimize-sibling-calls"
LDFLAGS:append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"