Files
meta-openembedded/meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb
Khem Raj 2cfaa70818 capnproto: Fix build on mips
gcc and clang calls atomic intrinsics which needs linking with libatomic
Fixes
| /usr/src/debug/capnproto/0.9.1-r0/git/c++/src/capnp/arena.h:114: undefined reference to `__atomic_load_8'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-12 17:17:50 -08:00

28 lines
764 B
BlitzBasic
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY = "Cap'n Proto serialization/RPC system"
DESCRIPTION = "Capn Proto is an insanely fast data interchange format and capability-based RPC system. "
HOMEPAGE = "https://github.com/sandstorm-io/capnproto"
SECTION = "console/tools"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=a05663ae6cca874123bf667a60dca8c9"
SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV};protocol=https \
"
SRCREV = "b49431c48d40490ef979247d308af63345376cee"
S = "${WORKDIR}/git/c++"
inherit cmake
CXXFLAGS:append:mips = " -latomic"
EXTRA_OECMAKE += "\
-DBUILD_TESTING=OFF \
"
FILES:${PN}-compiler = "${bindir}"
PACKAGE_BEFORE_PN = "${PN}-compiler"
RDEPENDS:${PN}-dev += "${PN}-compiler"
BBCLASSEXTEND = "native nativesdk"