about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 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 = {