summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/as-needed.inc1
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.14.1.bb2
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
index f56d432bd5..9c235649b7 100644
--- a/meta/conf/distro/include/as-needed.inc
+++ b/meta/conf/distro/include/as-needed.inc
@@ -2,6 +2,5 @@
2ASNEEDED = "-Wl,--as-needed" 2ASNEEDED = "-Wl,--as-needed"
3 3
4ASNEEDED_pn-openobex = "" 4ASNEEDED_pn-openobex = ""
5ASNEEDED_pn-rpm = ""
6 5
7TARGET_LDFLAGS += "${ASNEEDED}" 6TARGET_LDFLAGS += "${ASNEEDED}"
diff --git a/meta/recipes-devtools/rpm/rpm_4.14.1.bb b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
index 818d3ef9e3..d49530e0b9 100644
--- a/meta/recipes-devtools/rpm/rpm_4.14.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
@@ -73,6 +73,8 @@ BBCLASSEXTEND = "native nativesdk"
73PACKAGECONFIG ??= "" 73PACKAGECONFIG ??= ""
74PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils" 74PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils"
75 75
76ASNEEDED = ""
77
76# Direct rpm-native to read configuration from our sysroot, not the one it was compiled in 78# Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
77# libmagic also has sysroot path contamination, so override it 79# libmagic also has sysroot path contamination, so override it
78do_install_append_class-native() { 80do_install_append_class-native() {