From bca3bbbf203086794e5b56a71c04a7bbc59f9bea Mon Sep 17 00:00:00 2001 From: Tony Battersby Date: Mon, 9 Aug 2021 10:32:43 -0400 Subject: curlpp: fix QA Issue after LDFLAGS change Adding -f*-prefix-map to LDFLAGS caused the following issue: QA Issue: curlpp.pc failed sanity test (tmpdir) Fix by filtering out -f*-prefix-map from *.pc files. [YOCTO #14481] Signed-off-by: Tony Battersby Signed-off-by: Khem Raj (cherry picked from commit c40e01b0fce73bc289d9499b204350359afc7884) Signed-off-by: Armin Kuster --- meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb index 799cf8611c..5df9238a67 100644 --- a/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb +++ b/meta-networking/recipes-support/curlpp/curlpp_0.8.1.bb @@ -16,3 +16,10 @@ S = "${WORKDIR}/git" inherit cmake pkgconfig binconfig BBCLASSEXTEND = "native nativesdk" + +do_install:append() { + sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \ + -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ + -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \ + -i ${D}${libdir}/pkgconfig/*.pc +} -- cgit 1.2.3-korg