summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-11-21 22:06:12 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-11-21 22:06:12 +0100
commit33ee6ad467f517fb273a3facb3321a06a1c185d8 (patch)
treed135584f9cee67d9512c27bf5d36cccbe7f645a2 /dev-ada/gprbuild
parentnet-misc/youtube-dl: Old (diff)
downloadgentoo-33ee6ad467f517fb273a3facb3321a06a1c185d8.tar.gz
gentoo-33ee6ad467f517fb273a3facb3321a06a1c185d8.tar.bz2
gentoo-33ee6ad467f517fb273a3facb3321a06a1c185d8.zip
dev-ada/gprbuild: Fix linker file
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ada/gprbuild')
-rw-r--r--dev-ada/gprbuild/files/gprbuild-2017-config.patch25
1 files changed, 17 insertions, 8 deletions
diff --git a/dev-ada/gprbuild/files/gprbuild-2017-config.patch b/dev-ada/gprbuild/files/gprbuild-2017-config.patch
index 72f1fd829c1c..cb37dd58dd2d 100644
--- a/dev-ada/gprbuild/files/gprbuild-2017-config.patch
+++ b/dev-ada/gprbuild/files/gprbuild-2017-config.patch
@@ -102,12 +102,21 @@
</configuration>
--- a/share/gprconfig/linker.xml 2018-10-27 09:43:17.934862859 +0200
+++ b/share/gprconfig/linker.xml 2018-10-27 09:43:54.127304471 +0200
-@@ -742,7 +742,7 @@
- for Shared_Library_Suffix use ".sl";
- for Library_Auto_Init_Supported use "true";
- for Run_Path_Option use ("-Wl,+b,");
-- for Library_Partial_Linker use ("gcc", "-nostdlib", "-Wl,-r", "-o");
-+ for Library_Partial_Linker use ("gcc-@VER@", "-nostdlib", "-Wl,-r", "-o");
+@@ -814,7 +814,7 @@
+ when "arm-android" | "arm-linux-androideabi" =>
+ null;
+ when others =>
+- for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(ada)}gcc", "-nostdlib", "-Wl,-r", "-o");
++ for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(ada)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-o");
+ end case;
+ </config>
+ </configuration>
+@@ -830,7 +830,7 @@
+ <target name="^.*linux.*$" />
+ </targets>
+ <config>
+- for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(c)}gcc", "-nostdlib", "-Wl,-r", "-o");
++ for Library_Partial_Linker use ("${PATH(ada)}${PREFIX(c)}gcc-@VER@", "-nostdlib", "-Wl,-r", "-o");
+ </config>
+ </configuration>
- package Linker is
- for Max_Command_Line_Length use "5000";