summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-06-09 20:12:45 -0400
committerLLLL Colonq <llll@colonq>2026-06-09 20:12:45 -0400
commit05117cef2423ddc5deedf5dd51df28806065d0c8 (patch)
tree5e4140c5679122b1c37253e3843667c254934f46 /flake.nix
parent2bed368821af4fcb06435bfe849332f5a813e470 (diff)
Make floating-point optional
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 1a57d6f..d886d37 100644
--- a/flake.nix
+++ b/flake.nix
@@ -40,7 +40,7 @@
src = ./.;
hardeningDisable = ["all"];
buildPhase = ''
- make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar libcolonq-pit.a
+ make CPPFLAGS=-DPIT_NO_DOUBLE CC=arm-none-eabi-gcc AR=arm-none-eabi-ar libcolonq-pit.a
'';
installPhase = ''
make CC=arm-none-eabi-gcc AR=arm-none-eabi-ar prefix=$out install-core install-headers