]> code.ossystems Code Review - openembedded-core.git/commitdiff
icu: move ASNEEDED over-ride into icu.inc
authorAndre McCurdy <armccurdy@gmail.com>
Wed, 9 May 2018 21:46:45 +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-support/icu/icu.inc

index 94f5b905933ca6e4150f0067b20693ccebb9fd67..305e654ca914c761e1c4bb25300f0d41213242b5 100644 (file)
@@ -2,7 +2,6 @@
 ASNEEDED = "-Wl,--as-needed"
 
 ASNEEDED_pn-openobex = ""
-ASNEEDED_pn-icu = ""
 ASNEEDED_pn-pciutils = ""
 ASNEEDED_pn-puzzles = ""
 ASNEEDED_pn-rpm = ""
index 983118cd6197ae315b3730ad5f9c7cd010037508..f0786baa03e88f1a0955c44ae9346928bd904366 100644 (file)
@@ -31,6 +31,8 @@ EXTRA_OECONF_class-nativesdk = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}"
 EXTRA_OECONF_append_class-target = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'be', ' --with-data-packaging=archive', '', d)}"
 TARGET_CXXFLAGS_append = "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'be', ' -DICU_DATA_DIR=\\""${datadir}/${BPN}/${PV}\\""', '', d)}"
 
+ASNEEDED = ""
+
 # strtod_l() is not supported by musl; also xlocale.h is missing
 # It is not possible to disable its use via configure switches or env vars
 # so monkey patching is needed.