forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ada/gprbuild: use AR or NM env instead
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <[email protected]>
- Loading branch information
Showing
5 changed files
with
10 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
--- a/share/gprconfig/linker.xml 2021-12-21 21:36:45.306813518 +0100 | ||
+++ b/share/gprconfig/linker.xml 2021-12-21 22:20:21.642668870 +0100 | ||
@@ -128,7 +128,7 @@ | ||
@@ -128,7 +128,8 @@ | ||
<host name="^i686.*-linux.*$" /> | ||
</hosts> | ||
<config> | ||
- for Object_Lister use ("nm", "-g"); | ||
+ for Object_Lister use ("${HOST(Ada)}-nm", "-g"); | ||
+ NM := External("NM", "nm"); | ||
+ for Object_Lister use (NM, "-g"); | ||
for Object_Lister_Matcher use " [TDRB] (.*)"; | ||
|
||
LDFLAGS := External_As_List ("LDFLAGS", " "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
--- a/share/gprconfig/linker.xml 2021-12-22 22:40:42.611766036 +0100 | ||
+++ b/share/gprconfig/linker.xml 2021-12-22 22:42:28.839096356 +0100 | ||
@@ -877,7 +877,7 @@ | ||
@@ -877,7 +877,8 @@ | ||
<host name="^x86_64-.*linux.*" /> | ||
</hosts> | ||
<config> | ||
- for Archive_Builder use ("ar", "cr"); | ||
+ for Archive_Builder use ("${HOST(Ada)}-ar", "cr"); | ||
+ AR := External("AR", "ar"); | ||
+ for Archive_Builder use (AR, "cr"); | ||
for Archive_Builder_Append_Option use ("q"); | ||
for Archive_Indexer use ("ranlib"); | ||
for Archive_Suffix use ".a"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
--- a/share/gprconfig/linker.xml 2021-12-21 22:36:01.054738486 +0100 | ||
+++ b/share/gprconfig/linker.xml 2021-12-21 22:36:59.973738600 +0100 | ||
@@ -128,7 +128,7 @@ | ||
@@ -128,7 +128,8 @@ | ||
<host name="^i686.*-linux.*$" /> | ||
</hosts> | ||
<config> | ||
- for Object_Lister use ("nm", "-g"); | ||
+ for Object_Lister use ("${HOST(Ada)}-nm", "-g"); | ||
+ NM := External("NM", "nm"); | ||
+ for Object_Lister use (NM, "-g"); | ||
for Object_Lister_Matcher use " [TDRB] (.*)"; | ||
|
||
package Linker is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters