1 |
Signed-off-by: Mike Gilbert <floppym@g.o> |
2 |
--- |
3 |
eclass/toolchain-funcs.eclass | 15 ++++----------- |
4 |
1 file changed, 4 insertions(+), 11 deletions(-) |
5 |
|
6 |
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass |
7 |
index 2e027015c684..7bd90bb4e4a0 100644 |
8 |
--- a/eclass/toolchain-funcs.eclass |
9 |
+++ b/eclass/toolchain-funcs.eclass |
10 |
@@ -950,18 +950,11 @@ tc-enables-ssp-all() { |
11 |
# @FUNCTION: gen_usr_ldscript |
12 |
# @USAGE: [-a] <list of libs to create linker scripts for> |
13 |
# @DESCRIPTION: |
14 |
-# This function generate linker scripts in /usr/lib for dynamic |
15 |
-# libs in /lib. This is to fix linking problems when you have |
16 |
-# the .so in /lib, and the .a in /usr/lib. What happens is that |
17 |
-# in some cases when linking dynamic, the .a in /usr/lib is used |
18 |
-# instead of the .so in /lib due to gcc/libtool tweaking ld's |
19 |
-# library search path. This causes many builds to fail. |
20 |
-# See bug #4411 for more info. |
21 |
-# |
22 |
-# Note that you should in general use the unversioned name of |
23 |
-# the library (libfoo.so), as ldconfig should usually update it |
24 |
-# correctly to point to the latest version of the library present. |
25 |
+# This function is deprecated. Use the version from |
26 |
+# usr-ldscript.eclass instead. |
27 |
gen_usr_ldscript() { |
28 |
+ ewarn "${FUNCNAME}: Please migrate to usr-ldscript.eclass" |
29 |
+ |
30 |
local lib libdir=$(get_libdir) output_format="" auto=false suffix=$(get_libname) |
31 |
[[ -z ${ED+set} ]] && local ED=${D%/}${EPREFIX}/ |
32 |
|
33 |
-- |
34 |
2.22.0 |