diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2020-06-16 22:29:23 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2020-06-16 22:29:23 +0200 |
commit | 9077b09fc51cd1513ba6aa70675e59365c2f24cd (patch) | |
tree | c21eefe94d5cb4774516c9b4947d6466a509d597 /dev-ada | |
parent | www-client/vivaldi-snapshot: Old (diff) | |
download | gentoo-9077b09fc51cd1513ba6aa70675e59365c2f24cd.tar.gz gentoo-9077b09fc51cd1513ba6aa70675e59365c2f24cd.tar.bz2 gentoo-9077b09fc51cd1513ba6aa70675e59365c2f24cd.zip |
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>
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/gprbuild/files/gprbuild-2020-gentoo.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ada/gprbuild/files/gprbuild-2020-gentoo.patch b/dev-ada/gprbuild/files/gprbuild-2020-gentoo.patch index 66ec4f7f0dd1..9e6040b8ddc9 100644 --- a/dev-ada/gprbuild/files/gprbuild-2020-gentoo.patch +++ b/dev-ada/gprbuild/files/gprbuild-2020-gentoo.patch @@ -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="; |