Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdb: Flexible target matching for darwin
Outside of the nix-build the target is `x86_64-apple-darwin17.4.0`, while inside the target is `x86_64-apple-darwin`. This difference causes the fallback target configuration for darwin, which disables gdb. Add a patch to make the target matching more flexible. (cherry picked from commit 4c76a21) (cherry picked from commit fe0728f)
- Loading branch information
1 parent
82bb0a1
commit 17ff10a
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/configure 2017-06-05 00:51:26.000000000 +0900 | ||
+++ b/configure 2018-03-06 23:12:58.000000000 +0900 | ||
@@ -3603,7 +3603,7 @@ | ||
noconfigdirs="$noconfigdirs ld gprof" | ||
noconfigdirs="$noconfigdirs sim target-rda" | ||
;; | ||
- x86_64-*-darwin[912]*) | ||
+ x86_64-*-darwin*) | ||
noconfigdirs="$noconfigdirs ld gas gprof" | ||
noconfigdirs="$noconfigdirs sim target-rda" | ||
;; |
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