diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2018-05-09 14:46:48 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-15 10:56:50 +0100 |
commit | 64f19d7873fe2410d188a96ecafde3222aae26a2 (patch) | |
tree | f6b73af5e64af37dac59d9f8b548f7d1ca3cdef0 /meta | |
parent | 837a2a6f993caddc9693403ef9508d7b317e689b (diff) | |
download | poky-64f19d7873fe2410d188a96ecafde3222aae26a2.tar.gz |
rpm: move ASNEEDED over-ride into the rpm recipe
Move the recipe specific over-ride for ASNEEDED into the recipe to
make it more apparent that the over-ride is being applied (and that
it should be re-checked on version updates, etc).
(From OE-Core rev: f3d223304e52b9be946e5bd849075147147cbbb3)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/as-needed.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_4.14.1.bb | 2 |
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 @@ | |||
2 | ASNEEDED = "-Wl,--as-needed" | 2 | ASNEEDED = "-Wl,--as-needed" |
3 | 3 | ||
4 | ASNEEDED_pn-openobex = "" | 4 | ASNEEDED_pn-openobex = "" |
5 | ASNEEDED_pn-rpm = "" | ||
6 | 5 | ||
7 | TARGET_LDFLAGS += "${ASNEEDED}" | 6 | TARGET_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" | |||
73 | PACKAGECONFIG ??= "" | 73 | PACKAGECONFIG ??= "" |
74 | PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils" | 74 | PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils" |
75 | 75 | ||
76 | ASNEEDED = "" | ||
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 |
78 | do_install_append_class-native() { | 80 | do_install_append_class-native() { |