[OE-core] [PATCH v2 1/5] distcc: move ASNEEDED over-ride into the distcc recipe
Andre McCurdy
armccurdy at gmail.com
Tue May 29 21:29:44 UTC 2018
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).
Re-apply change, which was previously merged and then reverted to
avoid conflicts with a distcc version update.
Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
---
meta/conf/distro/include/as-needed.inc | 1 -
meta/recipes-devtools/distcc/distcc_3.3.bb | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
index f2e7e7b..9c23564 100644
--- a/meta/conf/distro/include/as-needed.inc
+++ b/meta/conf/distro/include/as-needed.inc
@@ -1,7 +1,6 @@
ASNEEDED = "-Wl,--as-needed"
-ASNEEDED_pn-distcc = ""
ASNEEDED_pn-openobex = ""
TARGET_LDFLAGS += "${ASNEEDED}"
diff --git a/meta/recipes-devtools/distcc/distcc_3.3.bb b/meta/recipes-devtools/distcc/distcc_3.3.bb
index 40648e2..33a64ce 100644
--- a/meta/recipes-devtools/distcc/distcc_3.3.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.3.bb
@@ -25,6 +25,8 @@ S = "${WORKDIR}/git"
inherit autotools pkgconfig update-rc.d useradd systemd
+ASNEEDED = ""
+
EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode"
USERADD_PACKAGES = "${PN}"
--
1.9.1
More information about the Openembedded-core
mailing list