Skip to content

Commit

Permalink
ldns: fix QA Issue after LDFLAGS change
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit a4791bf)
Signed-off-by: Armin Kuster <[email protected]>
  • Loading branch information
abattersby authored and akuster committed Aug 14, 2021
1 parent bca3bbb commit 2e794f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions meta-oe/recipes-devtools/ldns/ldns_1.7.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ PACKAGECONFIG[drill] = "--with-drill,--without-drill"

EXTRA_OECONF = "--with-ssl=${STAGING_EXECPREFIXDIR} \
libtool=${TARGET_PREFIX}libtool"

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
}

0 comments on commit 2e794f3

Please sign in to comment.