Gentoo Archives: gentoo-commits

From: Alfredo Tupone <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gprbuild/files/
Date: Wed, 21 Nov 2018 21:06:31
Message-Id: 1542834372.33ee6ad467f517fb273a3facb3321a06a1c185d8.tupone@gentoo
1 commit: 33ee6ad467f517fb273a3facb3321a06a1c185d8
2 Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 21 21:06:12 2018 +0000
4 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 21:06:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ee6ad4
7
8 dev-ada/gprbuild: Fix linker file
9
10 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-ada/gprbuild/files/gprbuild-2017-config.patch | 25 +++++++++++++++--------
14 1 file changed, 17 insertions(+), 8 deletions(-)
15
16 diff --git a/dev-ada/gprbuild/files/gprbuild-2017-config.patch b/dev-ada/gprbuild/files/gprbuild-2017-config.patch
17 index 72f1fd829c1..cb37dd58dd2 100644
18 --- a/dev-ada/gprbuild/files/gprbuild-2017-config.patch
19 +++ b/dev-ada/gprbuild/files/gprbuild-2017-config.patch
20 @@ -102,12 +102,21 @@
21 </configuration>
22 --- a/share/gprconfig/linker.xml 2018-10-27 09:43:17.934862859 +0200
23 +++ b/share/gprconfig/linker.xml 2018-10-27 09:43:54.127304471 +0200
24 -@@ -742,7 +742,7 @@
25 - for Shared_Library_Suffix use ".sl";
26 - for Library_Auto_Init_Supported use "true";
27 - for Run_Path_Option use ("-Wl,+b,");
28 -- for Library_Partial_Linker use ("gcc", "-nostdlib", "-Wl,-r", "-o");
29 -+ for Library_Partial_Linker use ("gcc-@VER@", "-nostdlib", "-Wl,-r", "-o");
30 +@@ -814,7 +814,7 @@
31 + when "arm-android" | "arm-linux-androideabi" =>
32 + null;
33 + when others =>
34 +- for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(ada)}gcc", "-nostdlib", "-Wl,-r", "-o");
35 ++ for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(ada)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-o");
36 + end case;
37 + </config>
38 + </configuration>
39 +@@ -830,7 +830,7 @@
40 + <target name="^.*linux.*$" />
41 + </targets>
42 + <config>
43 +- for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(c)}gcc", "-nostdlib", "-Wl,-r", "-o");
44 ++ for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(c)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-o");
45 + </config>
46 + </configuration>
47
48 - package Linker is
49 - for Max_Command_Line_Length use "5000";