trying more things

This commit is contained in:
2025-06-19 20:00:02 +02:00
parent 9aa866ee76
commit 3a1b58ec9d
3 changed files with 24 additions and 10 deletions

View File

@@ -7,6 +7,7 @@
, overrideCC
, gcc
, hwloc
, glibc
, libelf
, libffi_3_3
, libpsm2
@@ -50,6 +51,9 @@ let
echo "-L${gcc.cc.lib}/lib" >> $out/nix-support/cc-ldflags
echo "-L${cc}/lib" >> $out/nix-support/cc-ldflags
# echo "-isystem ${lib.getDev glibc}/include" >> $out/nix-support/libc-cflags
# echo "-isystem ${lib.getDev glibc}/include" >> $out/nix-support/cc-cflags
echo "--gcc-toolchain=${gcc.cc}" >> $out/nix-support/cc-cflags
# For some reason, If we don't resolve the realpath things go wrong