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