mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ada/gprbuild: use LDFLAGS to build ada libraries
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -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=";
|
||||
|
||||
Reference in New Issue
Block a user