]> code.ossystems Code Review - openembedded-core.git/commitdiff
rpm: move ASNEEDED over-ride into the rpm recipe
authorAndre McCurdy <armccurdy@gmail.com>
Wed, 9 May 2018 21:46:48 +0000 (14:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2018 09:00:30 +0000 (10:00 +0100)
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).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/as-needed.inc
meta/recipes-devtools/rpm/rpm_4.14.1.bb

index f56d432bd57f64375fa3a0b9291396510345d443..9c235649b7be6c908e3d3042cf728e7e56678eb2 100644 (file)
@@ -2,6 +2,5 @@
 ASNEEDED = "-Wl,--as-needed"
 
 ASNEEDED_pn-openobex = ""
-ASNEEDED_pn-rpm = ""
 
 TARGET_LDFLAGS += "${ASNEEDED}"
index 818d3ef9e31ac81dd6e0a6feb0d24ba3612ca608..d49530e0b9b21b5d0fbbe04d6ddf61301259018e 100644 (file)
@@ -73,6 +73,8 @@ BBCLASSEXTEND = "native nativesdk"
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[imaevm] = "--with-imaevm,,ima-evm-utils"
 
+ASNEEDED = ""
+
 # Direct rpm-native to read configuration from our sysroot, not the one it was compiled in
 # libmagic also has sysroot path contamination, so override it
 do_install_append_class-native() {