mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 15:47:23 +00:00
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:
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"
|
||||
|
||||
Reference in new issue
Block a user