From: Richard Purdie Date: Fri, 6 Aug 2021 09:55:26 +0000 (+0100) Subject: curl: Fix reproducibility issue with LDFLAGS X-Git-Tag: uninative-3.3~50 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3a30b7ad413de0e8f60504ba2be76107e4324640;p=openembedded-core.git curl: Fix reproducibility issue with LDFLAGS If we add DEBUG_PREFIX_MAP into LDFLAGS, curl-dev is no longer reproducible. Fix this. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/curl/curl_7.78.0.bb b/meta/recipes-support/curl/curl_7.78.0.bb index 2e2be66102..dece0babb2 100644 --- a/meta/recipes-support/curl/curl_7.78.0.bb +++ b/meta/recipes-support/curl/curl_7.78.0.bb @@ -73,6 +73,7 @@ do_install:append:class-target() { -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ -e 's,--with-libtool-sysroot=${STAGING_DIR_TARGET},,g' \ -e 's|${DEBUG_PREFIX_MAP}||g' \ + -e 's|${@" ".join(d.getVar("DEBUG_PREFIX_MAP").split())}||g' \ ${D}${bindir}/curl-config }