mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-21 20:12:48 +00:00
net-snmp: fix QA Issue after LDFLAGS change
Adding -f*-prefix-map to LDFLAGS caused the following issue: QA Issue: netsnmp-agent.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 5e042ac2079bffa3ae3d9839a50bf6a3d3f1930a) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
69dcf5bac8
commit
eee9348f79
@ -131,6 +131,11 @@ do_install_append() {
|
||||
-e 's@[^ ]*PKG_CONFIG_LIBDIR=[^ "]*@@g' \
|
||||
-i ${D}${bindir}/net-snmp-config
|
||||
|
||||
sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
|
||||
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
|
||||
-e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
|
||||
-i ${D}${libdir}/pkgconfig/netsnmp*.pc
|
||||
|
||||
# ${STAGING_DIR_HOST} is empty for native builds, and the sed command below
|
||||
# will result in errors if run for native.
|
||||
if [ "${STAGING_DIR_HOST}" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user