summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorAlexander Foremny <aforemny@posteo.de>2021-01-29 09:59:40 +0100
committerAlexander Foremny <aforemny@posteo.de>2021-01-29 10:48:23 +0100
commit75e2f7ce6385bdb7097db942d1df4f20dfc90463 (patch)
treeaf1f1b055ff1e06cf6cac6bfc499045f44c8c032 /lib
parent9353ed0300b604f33fc70e80ea529d50881632e3 (diff)
downloadnixpkgs-75e2f7ce6385bdb7097db942d1df4f20dfc90463.tar
nixpkgs-75e2f7ce6385bdb7097db942d1df4f20dfc90463.tar.gz
nixpkgs-75e2f7ce6385bdb7097db942d1df4f20dfc90463.tar.bz2
nixpkgs-75e2f7ce6385bdb7097db942d1df4f20dfc90463.tar.lz
nixpkgs-75e2f7ce6385bdb7097db942d1df4f20dfc90463.tar.xz
nixpkgs-75e2f7ce6385bdb7097db942d1df4f20dfc90463.tar.zst
nixpkgs-75e2f7ce6385bdb7097db942d1df4f20dfc90463.zip
gcc: fix armhf target
Fixes #96921
Diffstat (limited to 'lib')
-rw-r--r--lib/systems/examples.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index e8cf15479c0..be87fb1d069 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 = {