diff options
author | Alexander Foremny <aforemny@posteo.de> | 2021-01-29 09:59:40 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2021-01-29 10:48:23 +0100 |
commit | 75e2f7ce6385bdb7097db942d1df4f20dfc90463 (patch) | |
tree | af1f1b055ff1e06cf6cac6bfc499045f44c8c032 /lib | |
parent | 9353ed0300b604f33fc70e80ea529d50881632e3 (diff) |
gcc: fix armhf target
Fixes #96921
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systems/examples.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index e8cf15479c05..be87fb1d0694 100644 --- a/lib/systems/examples.nix +++ b/lib/systems/examples.nix @@ -131,6 +131,12 @@ rec { armhf-embedded = { config = "arm-none-eabihf"; libc = "newlib"; + # GCC8+ does not build without this + # (https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg552339.html): + gcc = { + arch = "armv5t"; + fpu = "vfp"; + }; }; aarch64-embedded = { |