Skip to content

Commit 2e794f3

Browse files
abattersbyakuster
authored andcommitted
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> (cherry picked from commit a4791bf) Signed-off-by: Armin Kuster <akuster808@gmail.com>
1 parent bca3bbb commit 2e794f3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ PACKAGECONFIG[drill] = "--with-drill,--without-drill"
1616

1717
EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} \
1818
libtool=${TARGET_PREFIX}libtool"
19+
20+
do_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+
}

0 commit comments

Comments
 (0)