]> code.ossystems Code Review - openembedded-core.git/commitdiff
distcc: move ASNEEDED over-ride into the distcc recipe
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 29 May 2018 21:29:44 +0000 (14:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Jun 2018 15:54:22 +0000 (16:54 +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).

Re-apply change, which was previously merged and then reverted to
avoid conflicts with a distcc version update.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/as-needed.inc
meta/recipes-devtools/distcc/distcc_3.3.bb

index f2e7e7b588f31004f86ab5eece39f3a3e7b8d015..9c235649b7be6c908e3d3042cf728e7e56678eb2 100644 (file)
@@ -1,7 +1,6 @@
 
 ASNEEDED = "-Wl,--as-needed"
 
-ASNEEDED_pn-distcc = ""
 ASNEEDED_pn-openobex = ""
 
 TARGET_LDFLAGS += "${ASNEEDED}"
index 40648e2142fcf6d06618b24c905cad8559eb8acf..33a64ce6d30e6c408c2ec004d5f95596a1bcb13d 100644 (file)
@@ -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}"