Skip to content

Commit

Permalink
dev-ada/gprbuild: use LDFLAGS to build ada libraries
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Jun 16, 2020
1 parent 662b6ba commit 9077b09
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dev-ada/gprbuild/files/gprbuild-2020-gentoo.patch
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,15 @@
</config>
</configuration>

--- a/share/gprconfig/linker.xml 2020-06-16 22:13:38.508782578 +0200
+++ b/share/gprconfig/linker.xml 2020-06-16 22:14:32.693966110 +0200
@@ -112,6 +112,9 @@
for Object_Lister use ("nm", "-g");
for Object_Lister_Matcher use " [TDRB] (.*)";

+ LDFLAGS := External_As_List ("LDFLAGS", " ");
+ for Leading_Library_Options use LDFLAGS;
+
package Linker is
for Export_File_Format use "GNU";
for Export_File_Switch use "-Wl,--version-script=";

0 comments on commit 9077b09

Please sign in to comment.