From 75e2f7ce6385bdb7097db942d1df4f20dfc90463 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 29 Jan 2021 09:59:40 +0100 Subject: gcc: fix armhf target Fixes #96921 --- lib/systems/examples.nix | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/systems/examples.nix') diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix index e8cf15479c056..be87fb1d06945 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 = { -- cgit 1.4.1