summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
diff options
context:
space:
mode:
authorKhem Raj <khem.raj@oss.qualcomm.com>2026-04-17 14:09:31 -0700
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-17 14:16:04 -0700
commit9707426b830433477c1a7990d07f77ad6ef0cc9e (patch)
treebcddc10b4c3a96439eb92ce648f8c71a9010e99d /meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
parentee394862b93a0136f6d9479250c93565f9c6413b (diff)
downloadmeta-openembedded-9707426b830433477c1a7990d07f77ad6ef0cc9e.tar.gz
liboauth2: Add knob for code coverage
Keep the knob disabled by default, as it will need c runtime to provide profiling runtime, which is not compiled into compiler-rt by default. So it ends up with build failures e.g. | aarch64-yoe-linux-ld.lld: error: cannot open /mnt/b/yoe/master/kas-build/tmp/work/cortexa72-yoe-linux/liboauth2/2.2.0/recipe-sysroot/usr/lib/clang/22.1.3/lib/aarch64-yoe-linux/libclang_rt.profile.a: No such file or directory | aarch64-yoe-linux-clang: error: linker command failed with exit code 1 (use -v to see invocation) Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb')
-rw-r--r--meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
index 5b1ecd23dd..83825c69a5 100644
--- a/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
+++ b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
@@ -7,6 +7,7 @@ SRC_URI = " \
7 git://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV} \ 7 git://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV} \
8 file://0001-fix-clang-curl_easy_setopt-takes-a-long-not-an-int.patch \ 8 file://0001-fix-clang-curl_easy_setopt-takes-a-long-not-an-int.patch \
9 file://0002-Fix-use-of-strchr-with-new-GCC.patch \ 9 file://0002-Fix-use-of-strchr-with-new-GCC.patch \
10 file://0001-build-guard-coverage-linker-flag-behind-CODE_COVERAG.patch \
10 " 11 "
11 12
12SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19" 13SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19"
@@ -20,4 +21,4 @@ PACKAGECONFIG[memcache] = "--with-memcache,--without-memcache,libmemcached"
20PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis" 21PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis"
21PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq" 22PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq"
22PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2" 23PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2"
23 24PACKAGECONFIG[ccov] = "--enable-code-coverage,--disable-code-coverage,"