summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Battersby <tonyb@cybernetics.com>2021-08-09 10:32:52 -0400
committerKhem Raj <raj.khem@gmail.com>2021-08-09 10:20:30 -0700
commita4791bf2f37de55dd51971d34ac2252d3cf68f30 (patch)
treead13b9714fa4823cd469b720d761b11932762b7f
parentc40e01b0fce73bc289d9499b204350359afc7884 (diff)
downloadmeta-openembedded-a4791bf2f37de55dd51971d34ac2252d3cf68f30.tar.gz
ldns: fix QA Issue after LDFLAGS change
Adding -f*-prefix-map to LDFLAGS caused the following issue: QA Issue: ldns.pc failed sanity test (tmpdir) Fix by filtering out -f*-prefix-map from *.pc files. [YOCTO #14481] Signed-off-by: Tony Battersby <tonyb@cybernetics.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb b/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb
index 2a52dd688a..2ce669154a 100644
--- a/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb
+++ b/meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb
@@ -16,3 +16,10 @@ PACKAGECONFIG[drill] = "--with-drill,--without-drill"
16 16
17EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} \ 17EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} \
18 libtool=${TARGET_PREFIX}libtool" 18 libtool=${TARGET_PREFIX}libtool"
19
20do_install:append() {
21 sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
22 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
23 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
24 -i ${D}${libdir}/pkgconfig/*.pc
25}