-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #271919 from emilytrau/avr-gcc8-aarch64-darwin
gcc8: support avr cross compilation on aarch64-darwin, qmk aarch64-darwin support pt. 1
- Loading branch information
Showing
3 changed files
with
27 additions
and
2 deletions.
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
16 changes: 16 additions & 0 deletions
16
pkgs/development/compilers/gcc/patches/8/avr-gcc-8-darwin.patch
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,16 @@ | ||
From https://gist.githubusercontent.com/DavidEGrayson/88bceb3f4e62f45725ecbb9248366300/raw/c1f515475aff1e1e3985569d9b715edb0f317648/gcc-11-arm-darwin.patch | ||
|
||
diff -ur a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c | ||
--- a/gcc/config/host-darwin.c 2021-04-27 03:00:13.000000000 -0700 | ||
+++ b/gcc/config/host-darwin.c 2021-06-11 14:49:13.754000000 -0700 | ||
@@ -22,6 +22,10 @@ | ||
#include "coretypes.h" | ||
#include "diagnostic-core.h" | ||
#include "config/host-darwin.h" | ||
+#include "hosthooks.h" | ||
+#include "hosthooks-def.h" | ||
+ | ||
+const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER; | ||
|
||
/* Yes, this is really supposed to work. */ | ||
/* This allows for a pagesize of 16384, which we have on Darwin20, but should |
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